UnorderedStack
Create and modify an UnorderedStack
object with Engine.createUnorderedStack()
, that can hold up to 128 unordered float numbers.
Class methods
asBuffer
Returns a buffer that refers the data. Edit on GitHub
UnorderedStack.asBuffer(bool getAllElements)
clear
Clears the stack. Edit on GitHub
UnorderedStack.clear()
contains
checks if the number is in the stack. Edit on GitHub
UnorderedStack.contains(var value)
copyTo
Copies the stack into the given container. Edit on GitHub
UnorderedStack.copyTo(var target)
insert
Inserts a number at the end of the stack. Edit on GitHub
UnorderedStack.insert(var value)
isEmpty
Checks if any number is present in the stack. Edit on GitHub
UnorderedStack.isEmpty()
remove
removes the given number and fills the gap. Edit on GitHub
UnorderedStack.remove(var value)
removeElement
Removes the element at the given number and fills the gap. Edit on GitHub
UnorderedStack.removeElement(int index)
removeIfEqual
Removes the matching event from the stack and puts it in the holder. Edit on GitHub
UnorderedStack.removeIfEqual(var holder)
setIsEventStack
Sets this stack to hold HISE events rather than floating point numbers. Edit on GitHub
UnorderedStack.setIsEventStack(bool shouldBeEventStack, var eventCompareFunction)
size
Returns the number of values in the stack. Edit on GitHub
UnorderedStack.size()
storeEvent
Stores the event into the message holder. Edit on GitHub
UnorderedStack.storeEvent(int index, var holder)