ID3D11ShaderReflectionType::IsOfType method

Indicates whether a variable is of the specified type.

Syntax

HRESULT IsOfType(
  ID3D11ShaderReflectionType *pType
);

Parameters

pType

Type: ID3D11ShaderReflectionType*

A pointer to a ID3D11ShaderReflectionType Interface.

Return value

Type: HRESULT

Returns S_OK if object being queried is equal to or inherits from the type in the pType parameter; otherwise returns S_FALSE.

Remarks

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

Requirements

   
Target Platform Windows
Header d3d11shader.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See also

ID3D11ShaderReflectionType Interface