ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex method

Get a shader-reflection variable by index.

Syntax


ID3D11ShaderReflectionVariable* GetVariableByIndex(
  [in] UINT Index
);

Parameters

Index [in]

Type: UINT

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

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11ShaderReflectionConstantBuffer Interface

 

 

Show: