Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <CopyTexSubImage.hpp>

Public Member Functions | |
| CopyTexSubImage () | |
| EReadDrawBuffer | readBuffer () const |
| void | setReadBuffer (EReadDrawBuffer render_buffer) |
| virtual bool | renderingCallback (const RenderingAbstract *, ERenderingCallback reason) |
| Implements the actual code to be executed upon callback activation. | |
| virtual void | copyPixels ()=0 |
| Copies the pixels from the specified read buffer to the specified texture. | |
Protected Attributes | |
| EReadDrawBuffer | mReadBuffer |
Is the base class of CopyTexSubImage1D, CopyTexSubImage2D, CopyTexSubImage3D. Copies a rectangular pixels area from the specified read buffer to the specified portion of the texture. Can be bound to a Rendering as a RenderingCallback in order to automatically copy the result of a rendering into a texture, see Rendering.
| vl::CopyTexSubImage::CopyTexSubImage | ( | ) | [inline] |
| EReadDrawBuffer vl::CopyTexSubImage::readBuffer | ( | ) | const [inline] |
| void vl::CopyTexSubImage::setReadBuffer | ( | EReadDrawBuffer | render_buffer | ) | [inline] |
| virtual bool vl::CopyTexSubImage::renderingCallback | ( | const RenderingAbstract * | rendering, | |
| ERenderingCallback | reason | |||
| ) | [inline, virtual] |
Implements the actual code to be executed upon callback activation.
true if the callback reacted to the given reason Implements vl::RenderingCallback.
| virtual void vl::CopyTexSubImage::copyPixels | ( | ) | [pure virtual] |
Copies the pixels from the specified read buffer to the specified texture.
Implemented in vl::CopyTexSubImage1D, vl::CopyTexSubImage2D, and vl::CopyTexSubImage3D.
EReadDrawBuffer vl::CopyTexSubImage::mReadBuffer [protected] |