ID3D11ShaderReflectionConstantBuffer::GetVariableByName Method
Get a shader-reflection variable by name.
Syntax
ID3D11ShaderReflectionVariable* GetVariableByName(
[in] LPCSTR Name
);
Parameter
Name [in]
Typ: LPCSTRVariable name.
Rückgabewert
Typ: ID3D11ShaderReflectionVariable
Returns a sentinel object (end of list marker). To determine if GetVariableByName successfully completed, call ID3D11ShaderReflectionVariable::GetDesc and check the returned HRESULT; any return value other than success means that GetVariableByName failed.
Hinweise
This method's interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.
Anforderungen
Header |
D3D11Shader.h |
Bibliothek |
D3DCompiler.lib or D3DCompiler_xx.dll |