Creates class linkage libraries to enable dynamic shader linkage.
public:
HRESULT CreateClassLinkage(
ID3D11ClassLinkage **ppLinkage
)
ppLinkage
Type: ID3D11ClassLinkage **
[out] A pointer to a class-linkage interface pointer (see ID3D11ClassLinkage).
Type: HRESULT
This method returns one of the following Direct3D 11 return codes.
The ID3D11ClassLinkage interface returned in ppLinkage is associated with a shader by passing it as a parameter to one of the ID3D11Device create shader methods such as ID3D11Device::CreatePixelShader.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).