ID3D10ShaderReflectionConstantBuffer::GetVariableByName method (d3d10shader.h)

Get a shader-reflection variable by name.

Syntax

ID3D10ShaderReflectionVariable * GetVariableByName(
  [in] LPCSTR Name
);

Parameters

[in] Name

Type: LPCSTR

Variable name.

Return value

Type: ID3D10ShaderReflectionVariable*

A pointer to a shader-reflection variable interface (see ID3D10ShaderReflectionVariable Interface).

Requirements

Requirement Value
Target Platform Windows
Header d3d10shader.h

See also

ID3D10ShaderReflectionConstantBuffer Interface