Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Represents a vl::Image with an associated Pixel Buffer Object. More...
#include <ImagePBO.hpp>
Public Member Functions | |
ImagePBO () | |
Constructor. | |
ImagePBO (const String &path) | |
Constructors: loads an image from the specified path. | |
ImagePBO (int x, int y, int z, int bytealign, EImageFormat format, EImageType type) | |
Constructor: initializes an image with the specified parameters. | |
const BufferObject * | pixelBufferObject () const |
The associated OpenGL Buffer Object. | |
BufferObject * | pixelBufferObject () |
The associated OpenGL Buffer Object. | |
void | setPixelBufferObject (BufferObject *pbo) |
The associated OpenGL Buffer Object. | |
Protected Attributes | |
ref< BufferObject > | mPBO |
Represents a vl::Image with an associated Pixel Buffer Object.
Definition at line 44 of file ImagePBO.hpp.
vl::ImagePBO::ImagePBO | ( | ) | [inline] |
Constructor.
Definition at line 50 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
vl::ImagePBO::ImagePBO | ( | const String & | path ) | [inline] |
Constructors: loads an image from the specified path.
Definition at line 57 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
vl::ImagePBO::ImagePBO | ( | int | x, |
int | y, | ||
int | z, | ||
int | bytealign, | ||
EImageFormat | format, | ||
EImageType | type | ||
) | [inline] |
Constructor: initializes an image with the specified parameters.
Definition at line 64 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
const BufferObject* vl::ImagePBO::pixelBufferObject | ( | ) | const [inline] |
The associated OpenGL Buffer Object.
Definition at line 71 of file ImagePBO.hpp.
References vl::ref< T >::get(), and mPBO.
Referenced by vl::DrawPixels::render_Implementation().
BufferObject* vl::ImagePBO::pixelBufferObject | ( | ) | [inline] |
The associated OpenGL Buffer Object.
Definition at line 74 of file ImagePBO.hpp.
References vl::ref< T >::get(), and mPBO.
void vl::ImagePBO::setPixelBufferObject | ( | BufferObject * | pbo ) | [inline] |
ref<BufferObject> vl::ImagePBO::mPBO [protected] |
Definition at line 80 of file ImagePBO.hpp.
Referenced by ImagePBO(), pixelBufferObject(), and setPixelBufferObject().