ID3D10ShaderReflectionVariable 接口 (d3d10shader.h)
此着色器反射接口提供对变量的访问。
方法
ID3D10ShaderReflectionVariable 接口具有这些方法。
ID3D10ShaderReflectionVariable::GetDesc 获取着色器变量说明。 (ID3D10ShaderReflectionVariable.GetDesc) |
ID3D10ShaderReflectionVariable::GetType 获取着色器变量类型。 (ID3D10ShaderReflectionVariable.GetType) |
注解
若要获取着色器反射变量接口,请调用 ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex 等方法。
要求
目标平台 | Windows |
标头 | d3d10shader.h |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈