Amplifies the contents of the <NodeBuffer> by cloning the <Node> objects. For example, given a <NodeBuffer> storing pointers to a <Program>, <Material>, and <Mesh>, and given an amplification request of 3, the <NodeBuffer> contents after function execution will be <Program>, <Material>, <Mesh>, <Program>, <Material>, <Mesh>, <Program>, <Material>, <Mesh>.
int32 Amplify( NodeBuffer p_oBuffer, int32 p_nCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<NodeBuffer> | p_oBuffer | a pointer to the <NodeBuffer>. |
int32 | p_nCount | The number of times to amplify the <Node> objects in the <NodeBuffer>. |
None published. Please look for an example in the Simdify Scripting Language code base.