D3D12_FEATURE_DATA_SHADER_MODEL structure

Contains the supported shader model.

Syntax

typedef struct D3D12_FEATURE_DATA_SHADER_MODEL {
  D3D_SHADER_MODEL HighestShaderModel;
} D3D12_FEATURE_DATA_SHADER_MODEL;

Members

HighestShaderModel

Specifies one member of D3D_SHADER_MODEL that indicates the maximum supported shader model.

Remarks

Refer to the enumeration constant D3D12_FEATURE_SHADER_MODEL in the D3D12_FEATURE enumeration.

When used with the ID3D12Device::CheckFeatureSupport function, before calling the function initialize the HighestShaderModel field to the highest shader model that your application understands. After the function completes successfully, the HighestShaderModel field contains the highest shader model that is both supported by the device and no higher than the shader model passed in.

Requirements

   
Header d3d12.h

See Also

Core Structures

D3D12_FEATURE