ID3D11FunctionLinkingGraph::GenerateHlsl method

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

Syntax

HRESULT GenerateHlsl(
  UINT     uFlags,
  ID3DBlob **ppBuffer
);

Parameters

uFlags

Type: UINT

Reserved

ppBuffer

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

   
Target Platform Windows
Header d3d11shader.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See Also

ID3D11FunctionLinkingGraph