Amplifies the contents of the <TypeBuffer> by cloning the <Type> objects. For example, given a <TypeBuffer> storing pointers to an <Image>, <Material>, and <Texture>, and given an amplification request of 3, the <TypeBuffer> contents after function execution will be <Image>, <Material>, <Texture>, <Image>, <Material>, <Texture>, <Image>, <Material>, <Texture>.
int32 Amplify( TypeBuffer p_oBuffer, int32 p_nCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<TypeBuffer> | 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.