ID3D11ShaderReflectionType interface

This shader-reflection interface provides access to variable type.


The ID3D11ShaderReflectionType interface has these methods.

Method Description
ID3D11ShaderReflectionType::GetBaseClass Gets an ID3D11ShaderReflectionType Interface interface containing the variable base class type.
ID3D11ShaderReflectionType::GetDesc Get the description of a shader-reflection-variable type.
ID3D11ShaderReflectionType::GetInterfaceByIndex Get an interface by index.
ID3D11ShaderReflectionType::GetMemberTypeByIndex Get a shader-reflection-variable type by index.
ID3D11ShaderReflectionType::GetMemberTypeByName Get a shader-reflection-variable type by name.
ID3D11ShaderReflectionType::GetMemberTypeName Get a shader-reflection-variable type.
ID3D11ShaderReflectionType::GetNumInterfaces Gets the number of interfaces.
ID3D11ShaderReflectionType::GetSubType Gets the base class of a class.
ID3D11ShaderReflectionType::ImplementsInterface Indicates whether a class type implements an interface.
ID3D11ShaderReflectionType::IsEqual Indicates whether two ID3D11ShaderReflectionType Interface pointers have the same underlying type.
ID3D11ShaderReflectionType::IsOfType Indicates whether a variable is of the specified type.


The get a shader-reflection-type interface, call ID3D11ShaderReflectionVariable::GetType. This isn't a COM interface, so you don't need to worry about reference counts or releasing the interface when you're done with it.


Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11shader.h

See Also

Shader Interfaces