AnimEngine
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OOOGL::Framebuffer Class Reference
Inheritance diagram for OOOGL::Framebuffer:
Inheritance graph
[legend]
Collaboration diagram for OOOGL::Framebuffer:
Collaboration graph
[legend]

Classes

class  AttachmentIndexOutOfBoundsException
 

Public Member Functions

void attachRenderbuffer (const Renderbuffer &renderbuffer, GLenum attachment, bool clobber=false)
 
void attach (const SimpleTexture2D &tex2d, GLenum attachment, int level=0, bool clobber=false)
 
void attach (const TextureArray &texarray, GLenum attachment, int layer, int level=0)
 
void dettach (GLenum attachment)
 
void setDrawBuffers (const std::vector< GLenum > &bufs, bool clobber=false)
 
void setDrawBuffers (GLsizei n, const GLenum *bufs, bool clobber=false)
 
void setSingleDrawMode (GLenum mode)
 
void setSingleReadMode (GLenum mode)
 
void setDefaultWidth (GLint width)
 
GLint getDefaultWidth () const
 
void setDefaultHeight (GLint height)
 
GLint getDefaultHeight () const
 
void setDefaultLayers (GLint layers)
 
GLint getDefaultLayers () const
 
void setDefaultSamples (GLint samples)
 
GLint getDefaultSamples () const
 
void setDefaultFixedSampleLocations (GLint param)
 
GLint getDefaultFixedSampleLocations () const
 
void bind () const
 
void bindDraw () const
 
void bindRead () const
 
GLenum getStatus (GLenum target=GL_FRAMEBUFFER) const
 
bool isComplete () const
 
- Public Member Functions inherited from OOOGL::OglObject
 OglObject (OglObjectDestroyer destroyer)
 
- Public Member Functions inherited from OOOGL::PersistentOglName
 PersistentOglName (OglObjectDestroyer destroyer)
 
 PersistentOglName (GLuint id, OglObjectDestroyer destroyer)
 
GLuint * getIdPtr ()
 
const GLuint * getIdPtr () const
 
virtual GLuint getName () const override
 
GLuint getNameDirect () const
 
virtual bool isPossessible () const override
 
virtual void makeZombie ()
 
virtual bool isZombie () const
 
- Public Member Functions inherited from OOOGL::OglNameInterface
 operator GLuint () const
 

Static Public Member Functions

static size_t get_stashed_id_count ()
 
static void push_framebuffer_state ()
 
static void pop_framebuffer_state ()
 

Protected Member Functions

void storeReference (GLenum attachment, const FramebufferAttachable &globj)
 
- Protected Member Functions inherited from OOOGL::OglObject
 OglObject (const PersistentOglName &zombie)
 

Protected Attributes

GLint maxAttach = 0
 
OptionalIndexedBindingVector< FramebufferAttachablecolor_attachments
 
GLint default_width = -1
 
GLint default_height = -1
 
GLint default_layers = -1
 
GLint default_samples = -1
 
GLint default_fixed_sample_locations = -1
 

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