ID3DX11EffectShaderVariable 接口

着色器变量接口访问着色器变量。

成员

ID3DX11EffectShaderVariable 接口继承自 ID3DX11EffectVariableID3DX11EffectShaderVariable 也具有以下类型的成员:

方法

ID3DX11EffectShaderVariable 接口具有以下方法。

方法 说明
GetComputeShader 获取计算着色器。
GetDomainShader 获取域着色器。
GetGeometryShader 获取几何着色器。
GetHullShader 获取外壳着色器。
GetInputSignatureElementDesc 获取输入签名说明。
GetOutputSignatureElementDesc 获取输出签名说明。
GetPatchConstantSignatureElementDesc 获取修补程序常量签名说明。
GetPixelShader 获取像素着色器。
GetShaderDesc 获取着色器说明。
GetVertexShader 获取顶点着色器。

备注

注意

DirectX SDK 不提供任何用于效果的已编译二进制文件。 必须使用 Effects 11 源来生成效果类型应用程序。 有关使用效果 11 源的详细信息,请参阅 效果 10 和效果 11 之间的差异

要求

要求
标头
D3dx11effect.h

N/A (Effects 11 库作为共享 source 联机提供。)

另请参阅

ID3DX11EffectVariable

效果 11 接口

D3DX 接口