globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
Wrapper of render buffer attachments of a frame buffer object. More...
#include <globjects/include/globjects/AttachedRenderbuffer.h>
Public Member Functions | |
AttachedRenderbuffer (Framebuffer *fbo, gl::GLenum attachment, Renderbuffer *renderBuffer) | |
virtual bool | isRenderBufferAttachment () const override |
Renderbuffer * | renderBuffer () |
const Renderbuffer * | renderBuffer () 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 |
AttachedTexture * | asTextureAttachment () |
const AttachedTexture * | asTextureAttachment () const |
AttachedRenderbuffer * | asRenderBufferAttachment () |
const AttachedRenderbuffer * | asRenderBufferAttachment () 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< Renderbuffer > | m_renderBuffer |
Protected Attributes inherited from globjects::FramebufferAttachment | |
Framebuffer * | m_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 () |
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().
globjects::AttachedRenderbuffer::AttachedRenderbuffer | ( | Framebuffer * | fbo, |
gl::GLenum | attachment, | ||
Renderbuffer * | renderBuffer | ||
) |
|
overridevirtual |
Reimplemented from globjects::FramebufferAttachment.
Renderbuffer* globjects::AttachedRenderbuffer::renderBuffer | ( | ) |
const Renderbuffer* globjects::AttachedRenderbuffer::renderBuffer | ( | ) | const |
|
protected |