D3DCreateLinker function

Creates a linker interface.

Note  This function 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.

Syntax


HRESULT WINAPI D3DCreateLinker(
  _Out_  ID3D11Linker **ppLinker
);

Parameters

ppLinker [out]

Type: ID3D11Linker**

A pointer to a variable that receives a pointer to the ID3D11Linker interface that is used to link a shader module.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.

Remarks

Note  The D3dcompiler_47.dll or later version of the DLL contains the D3DCreateLinker function.

Windows Phone 8.1: This API is supported.

Requirements

Header

D3Dcompiler.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11Linker

 

 

Community Additions

ADD
Show:
© 2014 Microsoft