Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Device::CreateClassLinkage method

Creates class linkage libraries to enable dynamic shader linkage.

Syntax


HRESULT CreateClassLinkage(
  [out] ID3D11ClassLinkage **ppLinkage
);

Parameters

ppLinkage [out]

Type: ID3D11ClassLinkage**

A pointer to a class-linkage interface pointer (see ID3D11ClassLinkage).

Return value

Type: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Remarks

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.

Examples

Using CreateClassLinkage



ID3D11ClassLinkage * g_pPSClassLinkage = NULL;            
pd3dDevice->CreateClassLinkage( &g_pPSClassLinkage ); 
          

Requirements

Header

D3D11.h

Library

D3D11.lib

 

 

Show:
© 2016 Microsoft