SpecificVbo.resize

Allocate a OpenGL Vbo with space for n elements. (Calls glBufferData with null.)

The contents of the Vbo are uninitialized and thus undefined.

struct SpecificVbo(T)
void
resize
(
size_t size_
,
GLenum usage = GL_STATIC_DRAW
)

Meta