获取着色器变量类型。
语法
ID3D12ShaderReflectionType * GetType();
返回值
类型: ID3D12ShaderReflectionType*
指向 ID3D12ShaderReflectionType 接口的指针。
备注
此方法的接口托管在现成的 DLL D3DCompiler_xx.dll 中。
要求
目标平台 | Windows |
标头 | d3d12shader.h |
获取着色器变量类型。
ID3D12ShaderReflectionType * GetType();
类型: ID3D12ShaderReflectionType*
指向 ID3D12ShaderReflectionType 接口的指针。
此方法的接口托管在现成的 DLL D3DCompiler_xx.dll 中。
目标平台 | Windows |
标头 | d3d12shader.h |