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.

ID3D11ClassLinkage interface

This interface encapsulates an HLSL dynamic linkage.

Members

The ID3D11ClassLinkage interface inherits from ID3D11DeviceChild. ID3D11ClassLinkage also has these types of members:

Methods

The ID3D11ClassLinkage interface has these methods.

MethodDescription
CreateClassInstance

Initializes a class-instance object that represents an HLSL class instance.

GetClassInstance

Gets the class-instance object that represents the specified HLSL class.

 

Remarks

A class linkage object can hold up to 64K gotten instances. A gotten instance is a handle that references a variable name in any shader that is created with that linkage object. When you create a shader with a class linkage object, the runtime gathers these instances and stores them in the class linkage object. For more information about how a class linkage object is used, see Storing Variables and Types for Shaders to Share.

An ID3D11ClassLinkage object is created using the ID3D11Device::CreateClassLinkage method.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceChild
Core Interfaces

 

 

Show:
© 2016 Microsoft