ID3D12ShaderReflection interface
A shader-reflection interface accesses shader information.
Members
The ID3D12ShaderReflection interface inherits from the IUnknown interface. ID3D12ShaderReflection also has these types of members:
Methods
The ID3D12ShaderReflection interface has these methods.
| Method | Description |
|---|---|
| GetBitwiseInstructionCount |
Gets the number of bitwise instructions. |
| GetConstantBufferByIndex |
Gets a constant buffer by index. |
| GetConstantBufferByName |
Gets a constant buffer by name. |
| GetConversionInstructionCount |
Gets the number of conversion instructions. |
| GetDesc |
Gets a shader description. |
| GetGSInputPrimitive |
Gets the geometry-shader input-primitive description. |
| GetInputParameterDesc |
Gets an input-parameter description for a shader. |
| GetMinFeatureLevel |
Gets the minimum feature level. |
| GetMovcInstructionCount |
Gets the number of Movc instructions. |
| GetMovInstructionCount |
Gets the number of Mov instructions. |
| GetNumInterfaceSlots |
Gets the number of interface slots in a shader. |
| GetOutputParameterDesc |
Gets an output-parameter description for a shader. |
| GetPatchConstantParameterDesc |
Gets a patch-constant parameter description for a shader. |
| GetRequiresFlags |
Gets a group of flags that indicates the requirements of a shader. |
| GetResourceBindingDesc |
Gets a description of how a resource is bound to a shader. |
| GetResourceBindingDescByName |
Gets a description of how a resource is bound to a shader. |
| GetThreadGroupSize |
Retrieves the sizes, in units of threads, of the X, Y, and Z dimensions of the shader's thread-group grid. |
| GetVariableByName |
Gets a variable by name. |
| IsSampleFrequencyShader |
Indicates whether a shader is a sample frequency shader. |
Remarks
An ID3D12ShaderReflection interface can be retrieved for a shader by using D3DReflect.
Requirements
|
Header |
|
|---|
See also