SuperAPI AI Directory

hlsl

Coding & development

View repository

Updated 11-03 08:12

About this skill

HLSL Skill

HLSL shader programming for DirectX.

Overview

This skill provides capabilities for writing HLSL shaders for DirectX-based engines.

Capabilities

  • Vertex and pixel shaders
  • Compute shaders
  • Constant buffer management
  • Shader optimization

Usage Patterns

cbuffer ConstantBuffer : register(b0)
{
    float4x4 WorldViewProj;
}

float4 PSMain(PSInput input) : SV_TARGET
{
    return input.Color;
}

References