ID3D12ShaderReflection::GetVariableByName method
Gets a variable by name.
Syntax
ID3D12ShaderReflectionVariable* GetVariableByName(
[in] LPCSTR Name
);
Parameters
- Name [in]
-
Type: LPCSTR
A pointer to a string containing the variable name.
Return value
Type: ID3D12ShaderReflectionVariable*
Returns a ID3D12ShaderReflectionVariable Interface interface.
Remarks
This method's interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.
Requirements
|
Header |
|
|---|
See also
Show: