Home -> IRenderPassNode -> AddChildNode

Description

The AddChildNode method adds the specified IProgramNode to the list of child nodes. During the rendering process, each IProgramNode is processed in the order it was added. This method adds the specified IProgramNode to the end of the current set of child nodes.

Usage

void AddChildNode(IProgramNode* childNode, IDefaultState* defaultState = nullptr);

Argument list

childNode [IProgramNode*]
The IProgramNode node to add to the list of child nodes
defaultState [IDefaultState*]
An optional IDefaultState object to provide default bindings and state for the child IProgramNode node

See also