共用方式為


ID3D10ShaderReflection1::GetConversionInstructionCount 方法 (d3d10_1shader.h)

取得著色器中使用的轉換指令數目。

語法

HRESULT GetConversionInstructionCount(
  [in] UINT *pCount
);

參數

[in] pCount

類型: UINT*

UINT 的指標,這個指標會在方法傳回時包含轉換指令計數。

傳回值

類型: HRESULT

傳回下列其中一個 Direct3D 10 傳回碼

備註

此方法需要 Windows Vista Service Pack 1。

規格需求

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

另請參閱

ID3D10ShaderReflection1 介面