Amplify Data Member Function

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>.

Prototype

int32 Amplify( NodeBuffer p_oBuffer, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_oBuffera pointer to the <NodeBuffer>.
int32p_nCountThe number of times to amplify the <Node> objects in the <NodeBuffer>.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.