Loading...
Searching...
No Matches
AttachedRenderbuffer.h
Go to the documentation of this file.
#pragma once
#include <glbinding/gl/types.h>
#include <globjects/base/ref_ptr.h>
#include <globjects/globjects_api.h>
#include <globjects/FramebufferAttachment.h>
namespace globjects
{
class Renderbuffer;
class Framebuffer;
class GLOBJECTS_API AttachedRenderbuffer : public FramebufferAttachment
{
public:
AttachedRenderbuffer(Framebuffer * fbo, gl::GLenum attachment, Renderbuffer * renderBuffer);
virtual bool isRenderBufferAttachment() const override;
Renderbuffer * renderBuffer();
const Renderbuffer * renderBuffer() const;
protected:
ref_ptr<Renderbuffer> m_renderBuffer;
};
} // namespace globjects
FramebufferAttachment.h
globjects::AttachedRenderbuffer
Wrapper of render buffer attachments of a frame buffer object.
Definition AttachedRenderbuffer.h:28
globjects::AttachedRenderbuffer::renderBuffer
Renderbuffer * renderBuffer()
globjects::AttachedRenderbuffer::renderBuffer
const Renderbuffer * renderBuffer() const
globjects::AttachedRenderbuffer::isRenderBufferAttachment
virtual bool isRenderBufferAttachment() const override
globjects::AttachedRenderbuffer::AttachedRenderbuffer
AttachedRenderbuffer(Framebuffer *fbo, gl::GLenum attachment, Renderbuffer *renderBuffer)
globjects::AttachedRenderbuffer::m_renderBuffer
ref_ptr< Renderbuffer > m_renderBuffer
Definition AttachedRenderbuffer.h:38
globjects::FramebufferAttachment
Wraps attachments to a FrameBufferObject.
Definition FramebufferAttachment.h:30
globjects::Framebuffer
Enables creation of arbitrary render targets that are not directly drawn on the screen.
Definition Framebuffer.h:47
globjects::Renderbuffer
Encapsulates OpenGL render buffer objects.
Definition Renderbuffer.h:19
globjects::ref_ptr
The ref_ptr class provides the interface for a reference pointer.
Definition ref_ptr.h:33
globjects
Contains all the classes that wrap OpenGL functionality.
ref_ptr.h