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.

ID3D11FunctionLinkingGraph::GenerateHlsl method

Generates Microsoft High Level Shader Language (HLSL) shader code that represents the function-linking-graph.

Syntax


HRESULT GenerateHlsl(
  [in]  UINT     uFlags,
  [out] ID3DBlob **ppBuffer
);

Parameters

uFlags [in]

Type: UINT

Reserved

ppBuffer [out]

Type: ID3DBlob**

An pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the HLSL shader source code that represents the function-linking-graph. You can compile this HLSL code, but first you must add code or include statements for the functions called in the function-linking-graph.

Return value

Type: HRESULT

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

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11FunctionLinkingGraph

 

 

Show:
© 2017 Microsoft