按名称获取着色器反射变量类型。
语法
ID3D11ShaderReflectionType * GetMemberTypeByName(
[in] LPCSTR Name
);
参数
[in] Name
类型: LPCSTR
成员名称。
返回值
类型: ID3D11ShaderReflectionType*
指向 ID3D11ShaderReflectionType 接口的指针。
备注
此方法的接口托管在现成的 DLL D3DCompiler_xx.dll 中。
要求
| 目标平台 | Windows |
| 标头 | d3d11shader.h |
| Library | D3DCompiler.lib |
| DLL | D3DCompiler_47.dll |