Home -> IProgramNode -> AddChildNodes
Description
The AddChildNodes method adds the specified set of IStateGroupNode objects to the list of child nodes. During the rendering process, each IStateGroupNode is processed in the order it was added. This method adds the specified set of IStateGroupNode objects to the end of the current set of child nodes.
Usage
void AddChildNodes(IStateGroupNode* const* childNodes, size_t childNodeCount);
void AddChildNodes(IStateGroupNode::unique_ptr const* childNodes, size_t childNodeCount);
Argument list
- childNodes [IStateGroupNode* const* / IStateGroupNode::unique_ptr const*]
- The set of IStateGroupNode objects to add to the list of child nodes
- childNodeCount [size_t]
- The number of IStateGroupNode entries to read from the childNodes array