ID3D10ShaderReflection1 接口 (d3d10_1shader.h)

着色器反射接口访问着色器信息。

继承

ID3D10ShaderReflection1 接口继承自 ID3D10ShaderReflectionID3D10ShaderReflection1 还具有以下类型的成员:

方法

ID3D10ShaderReflection1 接口包含以下方法。

 
ID3D10ShaderReflection1::GetBitwiseInstructionCount

获取按位指令的数目。 (ID3D10ShaderReflection1.GetBitwiseInstructionCount)
ID3D10ShaderReflection1::GetConversionInstructionCount

获取着色器中使用的转换指令数。
ID3D10ShaderReflection1::GetGSInputPrimitive

获取 geometry-shader input-primitive 说明。 (ID3D10ShaderReflection1.GetGSInputPrimitive)
ID3D10ShaderReflection1::GetMovcInstructionCount

获取 Movc 指令的数目。 (ID3D10ShaderReflection1.GetMovcInstructionCount)
ID3D10ShaderReflection1::GetMovInstructionCount

获取 Mov 指令的数目。 (ID3D10ShaderReflection1.GetMovInstructionCount)
ID3D10ShaderReflection1::GetResourceBindingDescByName

按名称获取资源绑定说明。
ID3D10ShaderReflection1::GetVariableByName

按名称获取变量。 (ID3D10ShaderReflection1.GetVariableByName)
ID3D10ShaderReflection1::IsLevel9Shader

指示是否在 Direct3D 9 模式下在 Direct3D 10 中编译着色器。
ID3D10ShaderReflection1::IsSampleFrequencyShader

指示像素着色器是用于运行像素频率还是采样频率。

备注

此接口需要 Windows Vista Service Pack 1。

要求

   
目标平台 Windows
标头 d3d10_1shader.h

另请参阅

ID3D10ShaderReflection

着色器接口