ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex-Methode (d3d11shader.h)

Ruft eine Shaderreflektionsvariable nach Index ab.

Syntax

ID3D11ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

Parameter

[in] Index

Typ: UINT

Nullbasierter Index.

Rückgabewert

Typ: ID3D11ShaderReflectionVariable*

Ein Zeiger auf eine Shader-Reflektionsvariable-Schnittstelle (siehe ID3D11ShaderReflectionVariable Interface).

Hinweise

Die Schnittstelle dieser Methode wird im out-of-box DLL-D3DCompiler_xx.dll gehostet.

Anforderungen

   
Zielplattform Windows
Kopfzeile d3d11shader.h
Bibliothek D3DCompiler.lib
DLL D3DCompiler_47.dll

Weitere Informationen

ID3D11ShaderReflectionConstantBuffer-Schnittstelle