Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates shader type.
Syntax
typedef enum D3D11_SHADER_VERSION_TYPE {
D3D11_SHVER_PIXEL_SHADER = 0,
D3D11_SHVER_VERTEX_SHADER = 1,
D3D11_SHVER_GEOMETRY_SHADER = 2,
D3D11_SHVER_HULL_SHADER = 3,
D3D11_SHVER_DOMAIN_SHADER = 4,
D3D11_SHVER_COMPUTE_SHADER = 5,
D3D11_SHVER_RESERVED0 = 0xFFF0
} ;
Constants
D3D11_SHVER_PIXEL_SHADERValue: 0 Pixel shader. |
D3D11_SHVER_VERTEX_SHADERValue: 1 Vertex shader. |
D3D11_SHVER_GEOMETRY_SHADERValue: 2 Geometry shader. |
D3D11_SHVER_HULL_SHADERValue: 3 Hull shader. |
D3D11_SHVER_DOMAIN_SHADERValue: 4 Domain shader. |
D3D11_SHVER_COMPUTE_SHADERValue: 5 Compute shader. |
D3D11_SHVER_RESERVED0Value: 0xFFF0 Indicates the end of the enumeration constants. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3d11shader.h |