ID3D12FunctionReflection::GetVariableByName method (d3d12shader.h)

Gets a variable by name.

Syntax

ID3D12ShaderReflectionVariable * GetVariableByName(
  [in] LPCSTR Name
);

Parameters

[in] Name

Type: LPCSTR

A pointer to a string containing the variable name.

Return value

Type: ID3D12ShaderReflectionVariable*

Returns a ID3D12ShaderReflectionVariable Interface interface.

Requirements

Requirement Value
Target Platform Windows
Header d3d12shader.h

See also

ID3D12FunctionReflection