D3D11_SHADER_VERSION_TYPE enumeration

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
} D3D11_SHADER_VERSION_TYPE;

Constants

D3D11_SHVER_PIXEL_SHADER

Pixel shader.

D3D11_SHVER_VERTEX_SHADER

Vertex shader.

D3D11_SHVER_GEOMETRY_SHADER

Geometry shader.

D3D11_SHVER_HULL_SHADER

Hull shader.

D3D11_SHVER_DOMAIN_SHADER

Domain shader.

D3D11_SHVER_COMPUTE_SHADER

Compute shader.

D3D11_SHVER_RESERVED0

Indicates the end of the enumeration constants.

Requirements

Header

D3d11shader.h

See also

Shader Enumerations

 

 

Show: