Home -> IRenderPassNode -> AddChildNodes
Description
The AddChildNodes method adds the specified set of IProgramNode objects 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 set of IProgramNode objects to the end of the current set of child nodes.
Usage
void AddChildNodes(IProgramNode* const* childNodes, size_t childNodeCount, IDefaultState* const* defaultState = nullptr);
void AddChildNodes(IProgramNode::unique_ptr const* childNodes, size_t childNodeCount, IDefaultState::unique_ptr const* defaultState = nullptr);
Argument list
- childNodes [IProgramNode* const* / IProgramNode::unique_ptr const*]
- The set of IProgramNode objects to add to the list of child nodes
- childNodeCount [size_t]
- The number of IProgramNode entries to read from the childNodes array
- defaultState [IDefaultState* const* / IDefaultState::unique_ptr const*]
- An optional set of IDefaultState objects to provide default bindings and state for the corresponding IProgramNode nodes in the childNodes array. If this argument isn't set to nullptr, it must contain childNodeCount entries, however individual entries in the array are allowed to be set to nullptr.