共用方式為


ID3D12ShaderReflectionType::GetMemberTypeByIndex 方法 (d3d12shader.h)

依索引取得著色器反映變數類型。

語法

ID3D12ShaderReflectionType * GetMemberTypeByIndex(
  [in] UINT Index
);

參數

[in] Index

類型: UINT

以零起始的索引。

傳回值

類型: ID3D12ShaderReflectionType*

ID3D12ShaderReflectionType 介面的指標。

備註

此方法的介面裝載於現用 DLL D3DCompiler_xx.dll 中。

規格需求

需求
目標平台 Windows
標頭 d3d12shader.h

另請參閱

ID3D12ShaderReflectionType