ID3D10ShaderReflection1::GetVariableByName method (d3d10_1shader.h)

Gets a variable by name.

Syntax

ID3D10ShaderReflectionVariable * GetVariableByName(
  [in] LPCSTR Name
);

Parameters

[in] Name

Type: LPCSTR*

A pointer to a string containing the variable name.

Return value

Type: ID3D10ShaderReflectionVariable*

Returns a ID3D10ShaderReflectionVariable Interface interface.

Remarks

This method requires Windows Vista Service Pack 1.

Requirements

Requirement Value
Target Platform Windows
Header d3d10_1shader.h

See also

ID3D10ShaderReflection1 Interface