SpecificVbo.this

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(T[] data_, GLenum usage)
  2. this(size_t n, GLenum usage)
    struct SpecificVbo(T)
    this
    (
    size_t n
    ,
    GLenum usage = GL_STATIC_DRAW
    )
  3. void resize(size_t size_, GLenum usage)

Meta