ID3D11FunctionLinkingGraph::CallFunction method

Creates a call-function linking node to use in the function-linking-graph.

Syntax

HRESULT CallFunction(
  LPCSTR            pModuleInstanceNamespace,
  ID3D11Module      *pModuleWithFunctionPrototype,
  LPCSTR            pFunctionName,
  ID3D11LinkingNode **ppCallNode
);

Parameters

pModuleInstanceNamespace

Type: LPCSTR

The optional namespace for the function, or NULL if no namespace is needed.

pModuleWithFunctionPrototype

Type: ID3D11Module*

A pointer to the ID3D11ModuleInstance interface for the library module that contains the function prototype.

pFunctionName

Type: LPCSTR

The name of the function.

ppCallNode

Type: ID3D11LinkingNode**

A pointer to a variable that receives a pointer to the ID3D11LinkingNode interface that represents the function 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