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.
Enumerates the types of shaders that Direct3D recognizes.
Used to encode the Version member of the D3D12_SHADER_DESC structure.
Syntax
typedef enum D3D12_SHADER_VERSION_TYPE {
D3D12_SHVER_PIXEL_SHADER = 0,
D3D12_SHVER_VERTEX_SHADER = 1,
D3D12_SHVER_GEOMETRY_SHADER = 2,
D3D12_SHVER_HULL_SHADER = 3,
D3D12_SHVER_DOMAIN_SHADER = 4,
D3D12_SHVER_COMPUTE_SHADER = 5,
D3D12_SHVER_LIBRARY,
D3D12_SHVER_RAY_GENERATION_SHADER,
D3D12_SHVER_INTERSECTION_SHADER,
D3D12_SHVER_ANY_HIT_SHADER,
D3D12_SHVER_CLOSEST_HIT_SHADER,
D3D12_SHVER_MISS_SHADER,
D3D12_SHVER_CALLABLE_SHADER,
D3D12_SHVER_MESH_SHADER,
D3D12_SHVER_AMPLIFICATION_SHADER,
D3D12_SHVER_NODE_SHADER,
D3D12_SHVER_RESERVED0 = 0xFFF0
} ;
Constants
D3D12_SHVER_PIXEL_SHADERValue: 0 Pixel shader. |
D3D12_SHVER_VERTEX_SHADERValue: 1 Vertex shader. |
D3D12_SHVER_GEOMETRY_SHADERValue: 2 Geometry shader. |
D3D12_SHVER_HULL_SHADERValue: 3 Hull shader. |
D3D12_SHVER_DOMAIN_SHADERValue: 4 Domain shader. |
D3D12_SHVER_COMPUTE_SHADERValue: 5 Compute shader. |
D3D12_SHVER_RESERVED0Value: 0xFFF0 Indicates the end of the enumeration. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12shader.h |