ID3D10ShaderReflectionConstantBuffer interface

This shader-reflection interface provides access to a constant buffer.

Members

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

Methods

The ID3D10ShaderReflectionConstantBuffer interface has these methods.

MethodDescription
GetDesc

Get a constant-buffer description.

GetVariableByIndex

Get a shader-reflection variable by index.

GetVariableByName

Get a shader-reflection variable by name.

 

Remarks

To create a constant-buffer interface, call ID3D10ShaderReflection::GetConstantBufferByIndex or ID3D10ShaderReflection::GetConstantBufferByName. This is not a COM interface; therefore, you do not need to worry about reference counts or releasing the interface when you are done with it.

Requirements

Header

D3D10Shader.h

Library

D3D10.lib

See also

Shader Interfaces

 

 

Show: