TreeShape::NodeData::updateCache

TreeShape::NodeData::updateCache
virtual TreeCacheNode* updateCache(HAL* hal, TreeCacheNode* pparent, TreeCacheNode* pinsert, TreeNode* pnode, UInt16 depth) const;
Description

updateCache is an internal function which is used to update the renderer cache node.

Parameters
Parameters 
Description 
HAL* hal 
The renderer HAL
TreeCacheNode* pparent 
Pointer to the root/parent node. 
TreeCacheNode* pinsert 
Pointer to the node to be created/inserted into the parent. This can be null. 
TreeNode* pnode 
Pointer to the node to be updated. 
UInt16 depth 
The depth of the node. 
Return Value

The updated cache node.