Allocates <Node> objects of the specified types and transfers ownership of the <Node> objects to the <NodeBuffer>.
int32 AllocateTypes( NodeBuffer p_oBuffer, TypeInfoArray p_aoTypes, int32 p_nCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<NodeBuffer> | p_oBuffer | A pointer to the <NodeBuffer> that owns the new <Node> objects. |
<TypeInfoArray> | p_aoTypes | A <TypeInfoArray> representing the types of <Node> objects to allocate. |
int32 | p_nCount | The number of sets of <Node> objects to allocate. If you pass three types in and set the count to 3, you end up with 9 new <Node> objects, allocated in blocks of <Node> objects that are the same sequence as the <TypeInfoArray>. |
None published. Please look for an example in the Simdify Scripting Language code base.