ID3D11ShaderReflectionConstantBuffer Interface
This shader-reflection interface provides access to a constant buffer.
Mitglieder
ID3D11ShaderReflectionConstantBufferSchnittstelle erbt von der IUnknown-Schnittstelle. ID3D11ShaderReflectionConstantBuffer umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
ID3D11ShaderReflectionConstantBufferSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
GetDesc | Get a constant-buffer description. |
GetVariableByIndex | Get a shader-reflection variable by index. |
GetVariableByName | Get a shader-reflection variable by name. |
Hinweise
To create a constant-buffer interface, call ID3D11ShaderReflection::GetConstantBufferByIndex or ID3D11ShaderReflection::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.