ID3D12ShaderReflectionType interface (d3d12shader.h)

This shader-reflection interface provides access to variable type.

Methods

The ID3D12ShaderReflectionType interface has these methods.

 
ID3D12ShaderReflectionType::GetBaseClass

Gets an ID3D12ShaderReflectionType Interface interface containing the variable base class type.
ID3D12ShaderReflectionType::GetDesc

Gets the description of a shader-reflection-variable type.
ID3D12ShaderReflectionType::GetInterfaceByIndex

Gets an interface by index.
ID3D12ShaderReflectionType::GetMemberTypeByIndex

Gets a shader-reflection-variable type by index.
ID3D12ShaderReflectionType::GetMemberTypeByName

Gets a shader-reflection-variable type by name.
ID3D12ShaderReflectionType::GetMemberTypeName

Gets a shader-reflection-variable type.
ID3D12ShaderReflectionType::GetNumInterfaces

Gets the number of interfaces. (ID3D12ShaderReflectionType.GetNumInterfaces)
ID3D12ShaderReflectionType::GetSubType

Gets the base class of a class. (ID3D12ShaderReflectionType.GetSubType)
ID3D12ShaderReflectionType::ImplementsInterface

Indicates whether a class type implements an interface. (ID3D12ShaderReflectionType.ImplementsInterface)
ID3D12ShaderReflectionType::IsEqual

Indicates whether two ID3D12ShaderReflectionType Interface pointers have the same underlying type.
ID3D12ShaderReflectionType::IsOfType

Indicates whether a variable is of the specified type. (ID3D12ShaderReflectionType.IsOfType)

Remarks

The get a shader-reflection-type interface, call ID3D12ShaderReflectionVariable::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.

Requirements

Requirement Value
Target Platform Windows
Header d3d12shader.h

See also

Shader Interfaces