Public Member Functions

  • GLuint
    getId () const
  • size_t
    getSize () const
  • GLenum
    getTarget () const
  • void
    setTarget (GLenum target)
  • GLenum
    getUsage () const
  • void
    setUsage (GLenum usage)

Static Public Member Functions

  • create (GLenum target)
  • create (GLenum target, GLsizeiptr allocationSize, const void *data=nullptr, GLenum usage=GL_STATIC_DRAW)
  • create (GLenum target, const std::vector< T > &v, GLenum usage=GL_STATIC_DRAW)

Protected Member Functions

  • Vbo (GLenum target)
  • Vbo (GLenum target, GLsizeiptr allocationSize, const void *data, GLenum usage)

Protected Attributes

  • GLuint
    mId
  • GLsizeiptr
    mSize
  • GLenum
    mTarget
  • GLenum
    mUsage
  • std::string
    mLabel