D3DCreateFunctionLinkingGraph function (d3dcompiler.h)

Creates a function-linking-graph 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 D3DCreateFunctionLinkingGraph(
  [in]  UINT                       uFlags,
  [out] ID3D11FunctionLinkingGraph **ppFunctionLinkingGraph
);

Parameters

[in] uFlags

Type: UINT

Reserved

[out] ppFunctionLinkingGraph

Type: ID3D11FunctionLinkingGraph**

A pointer to a variable that receives a pointer to the ID3D11FunctionLinkingGraph interface that is used for constructing shaders that consist of a sequence of precompiled function calls.

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 D3DCreateFunctionLinkingGraph function.
 

Requirements

Requirement Value
Target Platform Windows
Header d3dcompiler.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See also

Functions

ID3D11FunctionLinkingGraph