Amplify Data Member Function

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

Prototype

int32 Amplify( TypeBuffer p_oBuffer, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
<TypeBuffer>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.