(0) exportieren Drucken
Alle erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.
1 von 1 fanden dies hilfreich - Dieses Thema bewerten.

ID3D11Linker interface

A linker interface is used to link a shader module.

Note  This interface is part of the HLSL shader linking technology that you can use on all Direct3D 11 platforms to create precompiled HLSL functions, package them into libraries, and link them into full shaders at run time.

Members

The ID3D11Linker interface inherits from the IUnknown interface. ID3D11Linker also has these types of members:

Methods

The ID3D11Linker interface has these methods.

MethodDescription
AddClipPlaneFromCBuffer

Adds a clip plane with the plane coefficients taken from a cbuffer entry for 10Level9 shaders.

Link

Links the shader and produces a shader blob that the Direct3D runtime can use.

UseLibrary

Adds an instance of a library module to be used for linking.

 

Remarks

To get a linker interface, call D3DCreateLinker.

Note  ID3D11Linker requires the D3dcompiler_47.dll or a later version of the DLL.

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

Shader Interfaces

 

 

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.