Public Member Functions

  • getId () const
  • size_t
    getSize () const
  • getTarget () const
  • setTarget (GLenum target)
  • getUsage () const
  • 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