Sonolus Wiki

Temporary Memory

Temporary Memory block is used to provide temporary operational memory during callbacks.

Identifier

const TemporaryMemoryId = 10000

Values

touch Callback

IndexInitial ValueDescription
0-4095?Generic memory

Access

CallbackReadWrite
preprocess
spawnOrder
shouldSpawn
initialize
updateSequential
touch
updateParallel
terminate

Remarks

Initial values of Temporary Memory block are unpredictable. It is important to take this into account when using Temporary Memory block and do not rely on its initial values.