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.

  1. this(size_t n, GLenum usage)
  2. void resize(size_t size_, GLenum usage)
    struct SpecificVbo(T)
    void
    resize
    (
    size_t size_
    ,
    GLenum usage = GL_STATIC_DRAW
    )

Meta