ID3D11FunctionLinkingGraph::PassValueWithSwizzle method

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

Syntax

HRESULT PassValueWithSwizzle(
  ID3D11LinkingNode *pSrcNode,
  INT               SrcParameterIndex,
  LPCSTR            pSrcSwizzle,
  ID3D11LinkingNode *pDstNode,
  INT               DstParameterIndex,
  LPCSTR            pDstSwizzle
);

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.

pSrcSwizzle

Type: LPCSTR

The name of the source swizzle.

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.

pDstSwizzle

Type: LPCSTR

The name of the destination swizzle.

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