ID3D10ShaderReflection interface (d3d10shader.h)

A shader-reflection interface accesses shader information.

Inheritance

The ID3D10ShaderReflection interface inherits from the IUnknown interface. ID3D10ShaderReflection also has these types of members:

Methods

The ID3D10ShaderReflection interface has these methods.

 
ID3D10ShaderReflection::GetConstantBufferByIndex

The ID3D10ShaderReflection::GetConstantBufferByIndex (d3d10shader.h) method gets a constant buffer by index.
ID3D10ShaderReflection::GetConstantBufferByName

Get a constant buffer by name. (ID3D10ShaderReflection.GetConstantBufferByName)
ID3D10ShaderReflection::GetDesc

Get a shader description. (ID3D10ShaderReflection.GetDesc)
ID3D10ShaderReflection::GetInputParameterDesc

Get an input-parameter description for a shader. (ID3D10ShaderReflection.GetInputParameterDesc)
ID3D10ShaderReflection::GetOutputParameterDesc

Get an output-parameter description for a shader. (ID3D10ShaderReflection.GetOutputParameterDesc)
ID3D10ShaderReflection::GetResourceBindingDesc

Get a description of the resources bound to a shader.

Remarks

Create the interface by calling D3DX10ReflectShader. Since it is a COM interface, creating the interface increases a reference count and the interface must be released when it is no longer needed. The remaining shader-reflection interfaces are not COM interfaces.

Requirements

Requirement Value
Target Platform Windows
Header d3d10shader.h

See also

Shader Interfaces