Exporter (0) Imprimer
Développer tout
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

IUnknown
Shader Interfaces

 

 

Ajouts de la communauté

AJOUTER
Afficher:
© 2015 Microsoft