ID3D11FunctionLinkingGraph::CallFunction method (d3d11shader.h)

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

Syntax

HRESULT CallFunction(
  [in, optional] LPCSTR            pModuleInstanceNamespace,
  [in]           ID3D11Module      *pModuleWithFunctionPrototype,
  [in]           LPCSTR            pFunctionName,
  [out]          ID3D11LinkingNode **ppCallNode
);

Parameters

[in, optional] pModuleInstanceNamespace

Type: LPCSTR

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

[in] pModuleWithFunctionPrototype

Type: ID3D11Module*

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

[in] pFunctionName

Type: LPCSTR

The name of the function.

[out] 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

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

See also

ID3D11FunctionLinkingGraph