Wraps the OpenGL function glDrawPixels().
More...
#include <DrawPixels.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glDrawPixels().
Bind it to an Actor in order to render one or more bitmaps on the screen. DrawPixels supports multiple bitmaps, can draw a subsection of a bitmap, and supports also PBOs (GL_EXT_pixel_buffer_object). See also DrawPixels::Pixels.
- Note:
- If the given Actor has an associated transform the bitmap position will follow it.
Constructor & Destructor Documentation
| DrawPixels::DrawPixels |
( |
) |
|
Member Function Documentation
| virtual const char* vl::DrawPixels::className |
( |
) |
[inline, virtual] |
| void vl::DrawPixels::computeBounds_Implementation |
( |
) |
[inline, virtual] |
| void DrawPixels::render |
( |
const Actor * |
actor, |
|
|
const Camera * |
camera |
|
) |
| const [virtual] |
Renders the bitamps.
If camera != NULL and actor != NULL and actor->transform() != NULL then the bitmaps position will follow the Actor's Transform. The renderer parameter is ignored.
Implements vl::Renderable.
| void DrawPixels::deletePixelBufferObjects |
( |
) |
|
| void DrawPixels::releaseImages |
( |
) |
|
Iterates on the Pixels objects and sets their Image references to NULL.
| bool DrawPixels::generatePixelBufferObjects |
( |
EGLBufferUsage |
usage, |
|
|
bool |
discard_local_storage |
|
) |
| |
generates PBOs only for Pixels objects without a PBO handle
| void DrawPixels::setUsePixelBufferObject |
( |
bool |
use_pbo ) |
|
| bool vl::DrawPixels::usePixelBufferObject |
( |
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/DrawPixels.hpp
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/DrawPixels.cpp