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 接口