Public Member Functions

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