ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex Method

Get a shader-reflection variable by index.

Syntax

public:
ID3D11ShaderReflectionVariable* GetVariableByIndex(
         UINT Index
)  

Parameters

Index
Type: UINT 

[in] Zero-based index.

Return value

Type: ID3D11ShaderReflectionVariable *

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

Remarks

This method’s interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.

Requirements

Header: Declared in d3d11shader_x.h (d3d11shader.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11ShaderReflectionConstantBuffer

ID3D11ShaderReflectionConstantBuffer Members