ID3D12ShaderReflectionType::IsEqual method (d3d12shader.h)

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

Syntax

HRESULT IsEqual(
  [in] ID3D12ShaderReflectionType *pType
);

Parameters

[in] pType

Type: ID3D12ShaderReflectionType*

A pointer to a ID3D12ShaderReflectionType Interface.

Return value

Type: HRESULT

Returns S_OK if the pointers have the same underlying type; otherwise returns S_FALSE.

Remarks

IsEqual indicates whether the sources of the ID3D12ShaderReflectionType Interface pointers have the same underlying type. For example, if two ID3D12ShaderReflectionType Interface pointers were retrieved from variables, IsEqual can be used to see if the variables have the same type.

This method's interface is hosted in the out-of-box DLL D3DCompiler_xx.dll.

Requirements

   
Target Platform Windows
Header d3d12shader.h

See also

ID3D12ShaderReflectionType