Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Wrapper class of the OpenGL function glCopyTexSubImage. More...
#include <CopyTexSubImage.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| CopyTexSubImage () | |
| EReadDrawBuffer | readBuffer () const |
| void | setReadBuffer (EReadDrawBuffer render_buffer) |
| virtual bool | onRenderingStarted (const RenderingAbstract *) |
| Reimplement to react to this event. | |
| virtual bool | onRenderingFinished (const RenderingAbstract *) |
| Reimplement to react to this event. | |
| virtual bool | onRendererStarted (const RendererAbstract *) |
| Reimplement to react to this event. | |
| virtual bool | onRendererFinished (const RendererAbstract *) |
| Reimplement to react to this event. | |
| virtual void | copyPixels ()=0 |
| Copies the pixels from the specified read buffer to the specified texture. | |
Protected Attributes | |
| EReadDrawBuffer | mReadBuffer |
Wrapper class of the OpenGL function glCopyTexSubImage.
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 RenderEventCallback in order to automatically copy the result of a rendering into a texture, see Rendering.
| vl::CopyTexSubImage::CopyTexSubImage | ( | ) | [inline] |
| virtual const char* vl::CopyTexSubImage::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::RenderEventCallback.
Reimplemented in vl::CopyTexSubImage1D, vl::CopyTexSubImage2D, and vl::CopyTexSubImage3D.
| EReadDrawBuffer vl::CopyTexSubImage::readBuffer | ( | ) | const [inline] |
| void vl::CopyTexSubImage::setReadBuffer | ( | EReadDrawBuffer | render_buffer ) | [inline] |
| virtual bool vl::CopyTexSubImage::onRenderingStarted | ( | const RenderingAbstract * | ) | [inline, virtual] |
Reimplement to react to this event.
true if the callback reacted to the given event. Implements vl::RenderEventCallback.
| virtual bool vl::CopyTexSubImage::onRenderingFinished | ( | const RenderingAbstract * | ) | [inline, virtual] |
Reimplement to react to this event.
true if the callback reacted to the given event. Implements vl::RenderEventCallback.
| virtual bool vl::CopyTexSubImage::onRendererStarted | ( | const RendererAbstract * | ) | [inline, virtual] |
Reimplement to react to this event.
true if the callback reacted to the given event. Implements vl::RenderEventCallback.
| virtual bool vl::CopyTexSubImage::onRendererFinished | ( | const RendererAbstract * | ) | [inline, virtual] |
Reimplement to react to this event.
true if the callback reacted to the given event. Implements vl::RenderEventCallback.
| 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] |