Método ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex (d3d11shader.h)

Obtenha uma variável de reflexão de sombreador por índice.

Sintaxe

ID3D11ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

Parâmetros

[in] Index

Tipo: UINT

Índice baseado em zero.

Valor retornado

Tipo: ID3D11ShaderReflectionVariable*

Um ponteiro para uma interface de variável de reflexão de sombreador (consulte Interface ID3D11ShaderReflectionVariable).

Comentários

A interface desse método é hospedada na D3DCompiler_xx.dll de DLL pronta para uso.

Requisitos

   
Plataforma de Destino Windows
Cabeçalho d3d11shader.h
Biblioteca D3DCompiler.lib
DLL D3DCompiler_47.dll

Confira também

ID3D11ShaderReflectionConstantBuffer Interface