Represents an OpenGL Pixel Buffer Object.


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


Protected Member Functions

  • Pbo (GLenum target)
  • Pbo (GLenum target, GLsizeiptr allocationSize, const void *data=nullptr, GLenum usage=GL_STATIC_DRAW)

Protected Attributes

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