ID3D11ShaderReflectionType::IsOfType method (d3d11shader.h)

Indicates whether a variable is of the specified type.

Syntax

HRESULT IsOfType(
  [in] ID3D11ShaderReflectionType *pType
);

Parameters

[in] 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

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

See also

ID3D11ShaderReflectionType Interface