Ok if I want to make a stack of arrays that i am going to update constantly in both element amount as well as individual elements what would be the best way of going about this? so I need a dynamic array of containers holding 16 element arrays that i am going to update constantly. also if i was going to use a dynamic array thats not a vector how would i go about updating the size of that array. but im not against using vectors either just incase some one wants to share an example of that.
so i need to declare new array for each call of the render callback, populate that array then push it onto a stack of arrays and then do it again on that same render callback pass if i have more then one array that i have stacked. and i will be potentially adding to that stack every time new object is introduced to my scene.
//create dynamic array of 16 element arrays
//add newArray to my personal stack
//dostuff to newArray
//cycle to next newArray in my personal stack do stuff to it