Logo Search packages:      
Sourcecode: timfx version File versions  Download package

kino::gl::render_buffer Class Reference

#include <kino_opengl_utility.h>

List of all members.


Detailed Description

Encapsulates off-screen rendering operations for OpenGL.

Definition at line 73 of file kino_opengl_utility.h.


Public Member Functions

void draw_background (const kino::pixel_size_type Width, const kino::pixel_size_type Height, void *Pixels)
 Fills the buffer with the supplied image.
void finish_render ()
 Must be called after drawing.
void read_pixels (const kino::pixel_size_type Width, const kino::pixel_size_type Height, uint8_t *Pixels, const int Format=GL_RGB)
 Reads the contents of the buffer.
 render_buffer (const kino::pixel_size_type Width, const kino::pixel_size_type Height)
 Initializes the size of the buffer in pixels.
void render_field (const unsigned int Field)
 Enables interlaced rendering to the given field (0 == even, 1 == odd).
void render_frame ()
 Disables interlaced rendering.
void start_render ()
 Must be called before using the buffer for OpenGL drawing.

Private Attributes

implementation *const m_implementation

Classes

class  implementation

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

Generated by  Doxygen 1.6.0   Back to index