ID3D12ShaderReflectionType::IsOfType method (d3d12shader.h)
Indicates whether a variable is of the specified type.
Syntax
HRESULT IsOfType(
[in] ID3D12ShaderReflectionType *pType
);
Parameters
[in] pType
Type: ID3D12ShaderReflectionType*
A pointer to a ID3D12ShaderReflectionType 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 | d3d12shader.h |