ID3D10ShaderReflectionConstantBuffer interface (d3d10shader.h)
This shader-reflection interface provides access to a constant buffer.
Methods
The ID3D10ShaderReflectionConstantBuffer interface has these methods.
ID3D10ShaderReflectionConstantBuffer::GetDesc Get a constant-buffer description. (ID3D10ShaderReflectionConstantBuffer.GetDesc) |
ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex The ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex (d3d10shader.h) method gets a shader-reflection variable by index. |
ID3D10ShaderReflectionConstantBuffer::GetVariableByName Get a shader-reflection variable by name. (ID3D10ShaderReflectionConstantBuffer.GetVariableByName) |
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10shader.h |