Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Functions
ReadPixels.hpp File Reference
#include <vlGraphics/Camera.hpp>
#include <vlCore/Say.hpp>
#include <vlCore/Log.hpp>
#include <vlGraphics/RenderEventCallback.hpp>
#include <vlGraphics/BufferObject.hpp>
#include <vlCore/Image.hpp>

Go to the source code of this file.


class  vl::ReadPixels
 A RenderEventCallback that copyes a rectangular pixel area from a source buffer to an Image at the end of a rendering. More...


 Visualization Library main namespace.


void vl::readPixels (Image *image, int x, int y, int w, int h, EReadDrawBuffer read_buffer, bool store_in_pixel_buffer_object)
 Reads a rectangular pixel area from the specified read buffer and stores it in an Image. More...