Graphics‎ > ‎Graphic API‎ > ‎Direct3D‎ > ‎

Shaders


Shaders in DirectX are written in the High-Level Shader Language (HLSL).

Create Shaders
Shaders are created with the ID3D11Device::Create*Shader functions. They take a pointer to the compiled shader and return a interface for the shader.

CreateVertexShader()
CreatePixelShader()
CreateComputeShader()
CreateDomainShader()
CreateGeometryShader()
CreateHullShader()

Use Shaders


Comments