ID3D10ShaderReflection interface

A shader-reflection interface accesses shader information.

Members

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

Methods

The ID3D10ShaderReflection interface has these methods.

MethodDescription
GetConstantBufferByIndex

Get a constant buffer by index.

GetConstantBufferByName

Get a constant buffer by name.

GetDesc

Get a shader description.

GetInputParameterDesc

Get an input-parameter description for a shader.

GetOutputParameterDesc

Get an output-parameter description for a shader.

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

Header

D3D10Shader.h

Library

D3D10.lib

See also

Shader Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft