D3D_SHADER_MODEL enumeration

Specifies a shader model.

Syntax

typedef enum D3D_SHADER_MODEL {
  D3D_SHADER_MODEL_5_1,
  D3D_SHADER_MODEL_6_0,
  D3D_SHADER_MODEL_6_1,
  D3D_SHADER_MODEL_6_2,
  D3D_SHADER_MODEL_6_3,
  D3D_SHADER_MODEL_6_4,
  D3D_SHADER_MODEL_6_5,
  D3D_SHADER_MODEL_6_6
} ;

Constants

D3D_SHADER_MODEL_5_1 Indicates shader model 5.1.
D3D_SHADER_MODEL_6_0 Indicates shader model 6.0.
D3D_SHADER_MODEL_6_1 Indicates shader model 6.1.
D3D_SHADER_MODEL_6_2
D3D_SHADER_MODEL_6_3
D3D_SHADER_MODEL_6_4

Remarks

This enum is used by the D3D12_FEATURE_DATA_SHADER_MODEL structure.

Requirements

   
Header d3d12.h

See also

Core Enumerations