按索引获取着色器反射变量类型。
语法
ID3D10ShaderReflectionType * GetMemberTypeByIndex(
[in] UINT Index
);
参数
[in] Index
类型: UINT
从零开始的索引。
返回值
类型: ID3D10ShaderReflectionType*
指向 ID3D10ShaderReflectionType 接口的指针。
要求
| 要求 | 值 |
|---|---|
| 目标平台 | Windows |
| 标头 | d3d10shader.h |
按索引获取着色器反射变量类型。
ID3D10ShaderReflectionType * GetMemberTypeByIndex(
[in] UINT Index
);
[in] Index
类型: UINT
从零开始的索引。
类型: ID3D10ShaderReflectionType*
指向 ID3D10ShaderReflectionType 接口的指针。
| 要求 | 值 |
|---|---|
| 目标平台 | Windows |
| 标头 | d3d10shader.h |