Method GL.GLSLUtils.VertexBuffer()->set_size()
- Method
set_size
void
set_size(int
size
)- Description
Set the size of the VertexBuffer. The size is given in stride increments. That is, it defines the number of complete vertexes that can be generated from this buffer, not the number of floats or bytes in it.
set_size will remove all the data that was previously present in the buffer.