Interfaz ID3D12ShaderReflectionType (d3d12shader.h)

Esta interfaz de reflexión de sombreador proporciona acceso al tipo de variable.

Métodos

La interfaz ID3D12ShaderReflectionType tiene estos métodos.

 
ID3D12ShaderReflectionType::GetBaseClass

Obtiene una interfaz ID3D12ShaderReflectionType Interface que contiene el tipo de clase base variable.
ID3D12ShaderReflectionType::GetDesc

Obtiene la descripción de un tipo shader-reflection-variable.
ID3D12ShaderReflectionType::GetInterfaceByIndex

Obtiene una interfaz por índice.
ID3D12ShaderReflectionType::GetMemberTypeByIndex

Obtiene un tipo shader-reflection-variable por índice.
ID3D12ShaderReflectionType::GetMemberTypeByName

Obtiene un tipo shader-reflection-variable por nombre.
ID3D12ShaderReflectionType::GetMemberTypeName

Obtiene un tipo shader-reflection-variable.
ID3D12ShaderReflectionType::GetNumInterfaces

Obtiene el número de interfaces. (ID3D12ShaderReflectionType.GetNumInterfaces)
ID3D12ShaderReflectionType::GetSubType

Obtiene la clase base de una clase . (ID3D12ShaderReflectionType.GetSubType)
ID3D12ShaderReflectionType::ImplementsInterface

Indica si un tipo de clase implementa una interfaz. (ID3D12ShaderReflectionType.ImplementsInterface)
ID3D12ShaderReflectionType::IsEqual

Indica si dos punteros de interfaz ID3D12ShaderReflectionType tienen el mismo tipo subyacente.
ID3D12ShaderReflectionType::IsOfType

Indica si una variable es del tipo especificado. (ID3D12ShaderReflectionType.IsOfType)

Comentarios

La interfaz get a shader-reflection-type, llama a ID3D12ShaderReflectionVariable::GetType. Esto no es una interfaz COM, por lo que no es necesario preocuparse por los recuentos de referencias ni liberar la interfaz cuando haya terminado con ella.

Requisitos

   
Plataforma de destino Windows
Encabezado d3d12shader.h

Consulte también

Interfaces de los sombreadores