ID3D11ShaderReflectionConstantBuffer interface
This shader-reflection interface provides access to a constant buffer.
Members
The ID3D11ShaderReflectionConstantBuffer interface inherits from the IUnknown interface. ID3D11ShaderReflectionConstantBuffer also has these types of members:
Methods
The ID3D11ShaderReflectionConstantBuffer interface has these methods.
| Method | Description |
|---|---|
| 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 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.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also