SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
FrameBufferLayer Class Reference
Inheritance diagram for FrameBufferLayer:
Inheritance graph
[legend]

Public Member Functions

 FrameBufferLayer (const std::vector< GLuint > &rtts, unsigned w, unsigned h, unsigned layer_count)
 
 FrameBufferLayer (const std::vector< GLuint > &rtts, GLuint depth_stencil, unsigned w, unsigned h, unsigned layer_count)
 
void bindLayer (unsigned i) const
 
void bindLayerDepthOnly (unsigned i) const
 
unsigned getLayerCount () const
 
- Public Member Functions inherited from FrameBuffer
 FrameBuffer (const std::vector< GLuint > &rtts, unsigned w, unsigned h)
 
 FrameBuffer (const std::vector< GLuint > &rtts, GLuint depth_stencil, unsigned w, unsigned h)
 
void bind () const
 
void bindDepthOnly () const
 
const std::vector< GLuint > & getRTT () const
 
GLuint getDepthTexture () const
 
unsigned int getWidth () const
 
unsigned int getHeight () const
 
void blitToDefault (size_t x0, size_t y0, size_t x1, size_t y1)
 

Private Attributes

std::vector< GLuint > m_fbo_layer
 

Additional Inherited Members

- Static Public Member Functions inherited from FrameBuffer
static void blit (const FrameBuffer &src, const FrameBuffer &dst, GLbitfield mask=GL_COLOR_BUFFER_BIT, GLenum filter=GL_NEAREST)
 
- Protected Attributes inherited from FrameBuffer
GLuint m_fbo = 0
 
std::vector< GLuint > m_render_targets
 
GLuint m_depth_texture = 0
 
unsigned m_width = 0
 
unsigned m_height = 0
 

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