ID3D11FunctionLinkingGraph::PassValue method

Passes a value from a source linking node to a destination linking node.

Syntax

HRESULT PassValue(
  ID3D11LinkingNode *pSrcNode,
  INT               SrcParameterIndex,
  ID3D11LinkingNode *pDstNode,
  INT               DstParameterIndex
);

Parameters

pSrcNode

Type: ID3D11LinkingNode*

A pointer to the ID3D11LinkingNode interface for the source linking node.

SrcParameterIndex

Type: INT

The zero-based index of the source parameter.

pDstNode

Type: ID3D11LinkingNode*

A pointer to the ID3D11LinkingNode interface for the destination linking node.

DstParameterIndex

Type: INT

The zero-based index of the destination parameter.

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