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 ()
  • create (GLsizeiptr allocationSize, const void *data=nullptr, GLenum usage=GL_DYNAMIC_DRAW)
  • create (GLenum target, GLsizeiptr allocationSize, const void *data, GLenum usage)

Protected Member Functions

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

Protected Attributes

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