ID3D12ShaderReflectionConstantBuffer::GetVariableByIndex method (d3d12shader.h)

Gets a shader-reflection variable by index.

Syntax

ID3D12ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

Parameters

[in] Index

Type: UINT

Zero-based index.

Return value

Type: ID3D12ShaderReflectionVariable*

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

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header d3d12shader.h

See also

ID3D12ShaderReflectionConstantBuffer