Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Wraps glCopyTexSubImage3D, see also CopyTexSubImage. To be used also for 2D array textures. More...
#include <CopyTexSubImage.hpp>
Public Member Functions | |
| CopyTexSubImage3D (int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height, Texture *texture, EReadDrawBuffer read_buffer=RDB_BACK_LEFT) | |
| virtual const char * | className () |
| Returns the name of the class. | |
| void | setTexture (Texture *tex) |
| void | setLevel (int level) |
| void | setXOffset (int xoffset) |
| void | setYOffset (int yoffset) |
| void | setZOffset (int zoffset) |
| void | setX (int x) |
| void | setY (int y) |
| void | setWidth (int width) |
| void | setHeight (int height) |
| Texture * | texture () |
| const Texture * | texture () const |
| int | level () const |
| int | xoffset () const |
| int | yoffset () const |
| int | zoffset () const |
| int | x () const |
| int | y () const |
| int | width () const |
| int | height () const |
| virtual void | copyPixels () |
| Copies the pixels from the specified read buffer to the specified texture. | |
Protected Attributes | |
| ref< Texture > | mTexture |
| int | mLevel |
| int | mXOffset |
| int | mYOffset |
| int | mZOffset |
| int | mX |
| int | mY |
| int | mWidth |
| int | mHeight |
Wraps glCopyTexSubImage3D, see also CopyTexSubImage. To be used also for 2D array textures.
Definition at line 270 of file CopyTexSubImage.hpp.
| vl::CopyTexSubImage3D::CopyTexSubImage3D | ( | int | level, |
| int | xoffset, | ||
| int | yoffset, | ||
| int | zoffset, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| Texture * | texture, | ||
| EReadDrawBuffer | read_buffer = RDB_BACK_LEFT |
||
| ) | [inline] |
| virtual const char* vl::CopyTexSubImage3D::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::CopyTexSubImage.
Definition at line 288 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setTexture | ( | Texture * | tex ) | [inline] |
Definition at line 290 of file CopyTexSubImage.hpp.
References mTexture.
| void vl::CopyTexSubImage3D::setLevel | ( | int | level ) | [inline] |
Definition at line 291 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setXOffset | ( | int | xoffset ) | [inline] |
Definition at line 292 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setYOffset | ( | int | yoffset ) | [inline] |
Definition at line 293 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setZOffset | ( | int | zoffset ) | [inline] |
Definition at line 294 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setX | ( | int | x ) | [inline] |
Definition at line 295 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setY | ( | int | y ) | [inline] |
Definition at line 296 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setWidth | ( | int | width ) | [inline] |
Definition at line 297 of file CopyTexSubImage.hpp.
| void vl::CopyTexSubImage3D::setHeight | ( | int | height ) | [inline] |
Definition at line 298 of file CopyTexSubImage.hpp.
| Texture* vl::CopyTexSubImage3D::texture | ( | ) | [inline] |
Definition at line 300 of file CopyTexSubImage.hpp.
References vl::ref< T >::get(), and mTexture.
Referenced by copyPixels(), and CopyTexSubImage3D().
| const Texture* vl::CopyTexSubImage3D::texture | ( | ) | const [inline] |
Definition at line 301 of file CopyTexSubImage.hpp.
References vl::ref< T >::get(), and mTexture.
| int vl::CopyTexSubImage3D::level | ( | ) | const [inline] |
Definition at line 302 of file CopyTexSubImage.hpp.
References mLevel.
Referenced by copyPixels(), CopyTexSubImage3D(), and setLevel().
| int vl::CopyTexSubImage3D::xoffset | ( | ) | const [inline] |
Definition at line 303 of file CopyTexSubImage.hpp.
References mXOffset.
Referenced by copyPixels(), CopyTexSubImage3D(), and setXOffset().
| int vl::CopyTexSubImage3D::yoffset | ( | ) | const [inline] |
Definition at line 304 of file CopyTexSubImage.hpp.
References mYOffset.
Referenced by copyPixels(), CopyTexSubImage3D(), and setYOffset().
| int vl::CopyTexSubImage3D::zoffset | ( | ) | const [inline] |
Definition at line 305 of file CopyTexSubImage.hpp.
References mZOffset.
Referenced by copyPixels(), CopyTexSubImage3D(), and setZOffset().
| int vl::CopyTexSubImage3D::x | ( | ) | const [inline] |
Definition at line 306 of file CopyTexSubImage.hpp.
References mX.
Referenced by copyPixels(), CopyTexSubImage3D(), and setX().
| int vl::CopyTexSubImage3D::y | ( | ) | const [inline] |
Definition at line 307 of file CopyTexSubImage.hpp.
References mY.
Referenced by copyPixels(), CopyTexSubImage3D(), and setY().
| int vl::CopyTexSubImage3D::width | ( | ) | const [inline] |
Definition at line 308 of file CopyTexSubImage.hpp.
References mWidth.
Referenced by copyPixels(), CopyTexSubImage3D(), and setWidth().
| int vl::CopyTexSubImage3D::height | ( | ) | const [inline] |
Definition at line 309 of file CopyTexSubImage.hpp.
References mHeight.
Referenced by copyPixels(), CopyTexSubImage3D(), and setHeight().
| virtual void vl::CopyTexSubImage3D::copyPixels | ( | ) | [inline, virtual] |
Copies the pixels from the specified read buffer to the specified texture.
Implements vl::CopyTexSubImage.
Definition at line 311 of file CopyTexSubImage.hpp.
References vl::Log::error(), height(), level(), vl::CopyTexSubImage::readBuffer(), vl::TD_TEXTURE_3D, texture(), VL_CHECK, VL_CHECK_OGL, width(), x(), xoffset(), y(), yoffset(), and zoffset().
ref<Texture> vl::CopyTexSubImage3D::mTexture [protected] |
Definition at line 347 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setTexture(), and texture().
int vl::CopyTexSubImage3D::mLevel [protected] |
Definition at line 348 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), level(), and setLevel().
int vl::CopyTexSubImage3D::mXOffset [protected] |
Definition at line 349 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setXOffset(), and xoffset().
int vl::CopyTexSubImage3D::mYOffset [protected] |
Definition at line 350 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setYOffset(), and yoffset().
int vl::CopyTexSubImage3D::mZOffset [protected] |
Definition at line 351 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setZOffset(), and zoffset().
int vl::CopyTexSubImage3D::mX [protected] |
Definition at line 352 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setX(), and x().
int vl::CopyTexSubImage3D::mY [protected] |
Definition at line 353 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setY(), and y().
int vl::CopyTexSubImage3D::mWidth [protected] |
Definition at line 354 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), setWidth(), and width().
int vl::CopyTexSubImage3D::mHeight [protected] |
Definition at line 355 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage3D(), height(), and setHeight().