ID3D11ShaderReflectionConstantBuffer interface

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


The ID3D11ShaderReflectionConstantBuffer interface has these methods.

Method Description
ID3D11ShaderReflectionConstantBuffer::GetDesc Get a constant-buffer description.
ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex Get a shader-reflection variable by index.
ID3D11ShaderReflectionConstantBuffer::GetVariableByName Get a shader-reflection variable by name.


To create a constant-buffer interface, call ID3D11ShaderReflection::GetConstantBufferByIndex or ID3D11ShaderReflection::GetConstantBufferByName. This isn't a COM interface, so you don't need to worry about reference counts or releasing the interface when you're done with it.


Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11shader.h

See Also

Shader Interfaces