ID3D11ShaderReflectionConstantBuffer::GetVariableByIndex, méthode (d3d11shader.h)

Obtenir une variable de réflexion de nuanceur par index.

Syntaxe

ID3D11ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

Paramètres

[in] Index

Type : UINT

Index de base zéro.

Valeur retournée

Type : ID3D11ShaderReflectionVariable*

Pointeur vers une interface de variable nuanceur-réflexion (voir ID3D11ShaderReflectionVariable Interface).

Notes

L’interface de cette méthode est hébergée dans l'D3DCompiler_xx.dll DLL prête à l’emploi.

Spécifications

   
Plateforme cible Windows
En-tête d3d11shader.h
Bibliothèque D3DCompiler.lib
DLL D3DCompiler_47.dll

Voir aussi

ID3D11ShaderReflectionConstantBuffer, interface