version 3.3

VRS::FrameBufferToolGL Class Reference

#include <vrs/opengl/framebuffertoolgl.h>

List of all members.

Static Public Member Functions

static void copyFB2Image (EngineGL *engine, Image *img, GLCanvas::CanvasProperties buffer=GLCanvas::RGB_BUFFER, GLCanvas::BufferSelection readBuffer=GLCanvas::CURRENT_BUFFER, const Area &region=Area())
static void copyImage2FB (EngineGL *engine, Image *img, GLCanvas::CanvasProperties buffer=GLCanvas::RGB_BUFFER, GLCanvas::BufferSelection writeBuffer=GLCanvas::CURRENT_BUFFER, const Area &region=Area())


Member Function Documentation

static void VRS::FrameBufferToolGL::copyFB2Image ( EngineGL engine,
Image img,
GLCanvas::CanvasProperties  buffer = GLCanvas::RGB_BUFFER,
GLCanvas::BufferSelection  readBuffer = GLCanvas::CURRENT_BUFFER,
const Area region = Area() 
) [static]

Copies the current frame buffer contents into an image. The format specifies which frame buffer contents to be copied: RGB, Depth, ... The region specifies which part of the frame buffer to copy. The image must be large enough to store the region. If no region is specified, the whole frame buffer is copied.

static void VRS::FrameBufferToolGL::copyImage2FB ( EngineGL engine,
Image img,
GLCanvas::CanvasProperties  buffer = GLCanvas::RGB_BUFFER,
GLCanvas::BufferSelection  writeBuffer = GLCanvas::CURRENT_BUFFER,
const Area region = Area() 
) [static]

Copies the contents of an image into the frame buffer. The target region in the frame buffer is specified by by the area attribute.


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

Generated on Sat May 18 06:00:27 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact