ID3D11FunctionReflection::GetVariableByName method (d3d11shader.h)

Gets a variable by name.

Syntax

ID3D11ShaderReflectionVariable * GetVariableByName(
  [in] LPCSTR Name
);

Parameters

[in] Name

Type: LPCSTR

A pointer to a string containing the variable name.

Return value

Type: ID3D11ShaderReflectionVariable*

Returns a ID3D11ShaderReflectionVariable Interface interface.

Requirements

Requirement Value
Target Platform Windows
Header d3d11shader.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See also

ID3D11FunctionReflection