globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.

Encapsulates OpenGL render buffer objects. More...

#include <globjects/include/globjects/Renderbuffer.h>

Inheritance diagram for globjects::Renderbuffer:
globjects::Object globjects::Referenced globjects::HeapOnly

Public Member Functions

 Renderbuffer ()
 
virtual void accept (ObjectVisitor &visitor) override
 
void bind () const
 
void storage (gl::GLenum internalformat, gl::GLsizei width, gl::GLsizei height)
 
void storageMultisample (gl::GLsizei samples, gl::GLenum internalformat, gl::GLsizei width, gl::GLsizei height)
 
gl::GLint getParameter (gl::GLenum pname) const
 
virtual gl::GLenum objectType () const override
 
- Public Member Functions inherited from globjects::Object
gl::GLuint id () const
 
std::string name () const
 
void setName (const std::string &name)
 
bool hasName () const
 
bool isDefault () const
 
void detach ()
 
- Public Member Functions inherited from globjects::Referenced
 Referenced ()
 
void ref () const
 
void unref () const
 
int refCounter () const
 
- Public Member Functions inherited from globjects::HeapOnly
 HeapOnly ()
 
void destroy () const
 

Static Public Member Functions

static void unbind ()
 
- Static Public Member Functions inherited from globjects::Object
static void hintNameImplementation (NameImplementation impl)
 

Protected Member Functions

virtual ~Renderbuffer ()
 
void bind (gl::GLenum target) const
 
- Protected Member Functions inherited from globjects::Object
 Object (IDResource *resource)
 
virtual ~Object ()
 
- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 

Static Protected Member Functions

static void unbind (gl::GLenum target)
 

Additional Inherited Members

- Public Types inherited from globjects::Object
enum  NameImplementation { NameImplementation::DebugKHR, NameImplementation::Legacy }
 
- Protected Attributes inherited from globjects::Object
IDResource * m_resource
 
void * m_objectLabelState
 

Detailed Description

Encapsulates OpenGL render buffer objects.

See also
http://www.opengl.org/wiki/Renderbuffer_Objects

Constructor & Destructor Documentation

globjects::Renderbuffer::Renderbuffer ( )
virtual globjects::Renderbuffer::~Renderbuffer ( )
protectedvirtual

Member Function Documentation

virtual void globjects::Renderbuffer::accept ( ObjectVisitor visitor)
overridevirtual

Implements globjects::Object.

void globjects::Renderbuffer::bind ( ) const
static void globjects::Renderbuffer::unbind ( )
static
void globjects::Renderbuffer::storage ( gl::GLenum  internalformat,
gl::GLsizei  width,
gl::GLsizei  height 
)
void globjects::Renderbuffer::storageMultisample ( gl::GLsizei  samples,
gl::GLenum  internalformat,
gl::GLsizei  width,
gl::GLsizei  height 
)
gl::GLint globjects::Renderbuffer::getParameter ( gl::GLenum  pname) const
virtual gl::GLenum globjects::Renderbuffer::objectType ( ) const
overridevirtual

Implements globjects::Object.

void globjects::Renderbuffer::bind ( gl::GLenum  target) const
protected
static void globjects::Renderbuffer::unbind ( gl::GLenum  target)
staticprotected

The documentation for this class was generated from the following file: