Export (0) Print
Expand All

ID3D11Device::CreateClassLinkage method

Creates class linkage libraries to enable dynamic shader linkage.

Syntax


HRESULT CreateClassLinkage(
  ID3D11ClassLinkage **ppLinkage
);

Parameters

ppLinkage

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.

Windows Phone 8: This API is supported.

Examples

Using CreateClassLinkage



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

Requirements

Header

D3D11.h

Library

D3D11.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft