Quote Originally Posted by User137 View Post
Code:
addValue(@vertices[0]);
should do it. I'm just not sure if the myProcedure disposes of the memory reservation after it ends. That might cause access violations later if so.

And i find addValue a little misleading name, when what it does would better be described as setValue. Whatever exists in the stream before "adding" will be replaced with new one.

edit: Fine, even the C++ code is just a dummy test code
Is possible otherwise? If i have an array of single and i want an array of vec3, is possible without a for loop?

Sesilla