ID3D11FunctionLinkingGraph::PassValueWithSwizzle method (d3d11shader.h)

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

Syntax

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

Parameters

[in] pSrcNode

Type: ID3D11LinkingNode*

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

[in] SrcParameterIndex

Type: INT

The zero-based index of the source parameter.

[in] pSrcSwizzle

Type: LPCSTR

The name of the source swizzle.

[in] pDstNode

Type: ID3D11LinkingNode*

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

[in] DstParameterIndex

Type: INT

The zero-based index of the destination parameter.

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

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

See also

ID3D11FunctionLinkingGraph