Fillwave  10.0.0
List of all members | Public Member Functions
flw::flc::FramebufferGeometry Class Reference

Framebuffer with multiple color and depth attachments. More...

#include <FramebufferGeometry.h>

Inheritance diagram for flw::flc::FramebufferGeometry:
flw::flc::Framebuffer

Public Member Functions

 FramebufferGeometry (flf::TextureSystem &textures, GLuint width, GLuint height, GLuint colorBuffers)
 
void bindAttachments ()
 
void setAttachments ()
 
void setAttachmentStencilDepth ()
 
void setAttachmentSummaryForReading ()
 
void setAttachmentSummaryForWriting ()
 
void resize (GLuint width, GLuint height)
 
void reload ()
 
- Public Member Functions inherited from flw::flc::Framebuffer
 Framebuffer (GLuint howMany=1)
 
void bind (GLuint id=0) const
 
void attachTexture2D (GLenum attachment, GLenum target, GLuint textureHandle)
 
void attachTexture2DDraw (GLenum attachment, GLenum target, GLuint textureHandle)
 
void bindForWriting (GLuint id=0) const
 
void bindForReading (GLuint id=0) const
 
void setReadColorAttachment (GLuint attachmentColor)
 
void setReadDepthAttachment ()
 
GLuint getHandle (GLuint id=0)
 

Additional Inherited Members

- Static Public Member Functions inherited from flw::flc::Framebuffer
static void bindScreenFramebuffer ()
 
static void bindScreenFramebufferForReading ()
 
static void bindScreenFramebufferForWriting ()
 

Detailed Description

Framebuffer with multiple color and depth attachments.


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