globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
globjects::AttachedRenderbuffer Class Reference

Wrapper of render buffer attachments of a frame buffer object. More...

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

Inheritance diagram for globjects::AttachedRenderbuffer:
globjects::FramebufferAttachment globjects::Referenced globjects::HeapOnly

Public Member Functions

 AttachedRenderbuffer (Framebuffer *fbo, gl::GLenum attachment, Renderbuffer *renderBuffer)
 
virtual bool isRenderBufferAttachment () const override
 
RenderbufferrenderBuffer ()
 
const RenderbufferrenderBuffer () const
 
- Public Member Functions inherited from globjects::FramebufferAttachment
 FramebufferAttachment (Framebuffer *fbo, gl::GLenum attachment)
 
gl::GLenum attachment () const
 
gl::GLint getParameter (gl::GLenum pname) const
 
virtual bool isTextureAttachment () const
 
AttachedTextureasTextureAttachment ()
 
const AttachedTextureasTextureAttachment () const
 
AttachedRenderbufferasRenderBufferAttachment ()
 
const AttachedRenderbufferasRenderBufferAttachment () const
 
std::string attachmentString () const
 
- 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
 

Protected Attributes

ref_ptr< Renderbufferm_renderBuffer
 
- Protected Attributes inherited from globjects::FramebufferAttachment
Framebufferm_fbo
 
gl::GLenum m_attachment
 

Additional Inherited Members

- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 

Detailed Description

Wrapper of render buffer attachments of a frame buffer object.

This class is a link between a RenderBufferObject and the FrameBufferObject it is attached to. To get the attached render buffer, call renderBuffer().

See also
Renderbuffer
Framebuffer

Constructor & Destructor Documentation

globjects::AttachedRenderbuffer::AttachedRenderbuffer ( Framebuffer fbo,
gl::GLenum  attachment,
Renderbuffer renderBuffer 
)

Member Function Documentation

virtual bool globjects::AttachedRenderbuffer::isRenderBufferAttachment ( ) const
overridevirtual

Reimplemented from globjects::FramebufferAttachment.

Renderbuffer* globjects::AttachedRenderbuffer::renderBuffer ( )
const Renderbuffer* globjects::AttachedRenderbuffer::renderBuffer ( ) const

Member Data Documentation

ref_ptr<Renderbuffer> globjects::AttachedRenderbuffer::m_renderBuffer
protected

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