ID3D11ClassInstance interface (d3d11.h)
This interface encapsulates an HLSL class.
Inheritance
The ID3D11ClassInstance interface inherits from ID3D11DeviceChild. ID3D11ClassInstance also has these types of members:
Methods
The ID3D11ClassInstance interface has these methods.
ID3D11ClassInstance::GetClassLinkage Gets the ID3D11ClassLinkage object associated with the current HLSL class. |
ID3D11ClassInstance::GetDesc Gets a description of the current HLSL class. |
ID3D11ClassInstance::GetInstanceName Gets the instance name of the current HLSL class. |
ID3D11ClassInstance::GetTypeName Gets the type of the current HLSL class. |
Remarks
This interface is created by calling ID3D11ClassLinkage::CreateClassInstance. The interface is used when binding shader resources to the pipeline using APIs such as ID3D11DeviceContext::VSSetShader.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |