HierarchyCommandList.Reserve

Declaration

public bool Reserve(int count);

Parameters

count The number of nodes to reserve memory for.

Returns

bool true if the command was appended to the list, false otherwise.

Description

Reserves memory for nodes to use. Use this to avoid memory allocation hits when you add batches of nodes.


Did you find this page useful? Please give it a rating: