Bagikan melalui


ID3D11ShaderReflectionConstantBuffer::Metode GetVariableByIndex (d3d11shader.h)

Dapatkan variabel refleksi shader menurut indeks.

Sintaks

ID3D11ShaderReflectionVariable * GetVariableByIndex(
  [in] UINT Index
);

Parameter

[in] Index

Jenis: UINT

Indeks berbasis nol.

Mengembalikan nilai

Jenis: ID3D11ShaderReflectionVariable*

Penunjuk ke antarmuka variabel refleksi shader (lihat ID3D11ShaderReflectionVariable Interface).

Keterangan

Antarmuka metode ini dihosting di dll D3DCompiler_xx.dll di luar kotak.

Persyaratan

   
Target Platform Windows
Header d3d11shader.h
Pustaka D3DCompiler.lib
DLL D3DCompiler_47.dll

Lihat juga

ID3D11ShaderReflectionConstantBuffer Interface