Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Wraps glCopyTexSubImage1D, see also CopyTexSubImage. More...
#include <CopyTexSubImage.hpp>
Public Member Functions | |
CopyTexSubImage1D (int level, int xoffset, int x, int y, int width, Texture *texture=NULL, EReadDrawBuffer read_buffer=RDB_BACK_LEFT) | |
void | setTexture (Texture *tex) |
void | setLevel (int level) |
void | setXOffset (int xoffset) |
void | setX (int x) |
void | setY (int y) |
void | setWidth (int width) |
Texture * | texture () |
const Texture * | texture () const |
int | level () const |
int | xoffset () const |
int | x () const |
int | y () const |
int | width () 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 | mX |
int | mY |
int | mWidth |
Wraps glCopyTexSubImage1D, see also CopyTexSubImage.
Definition at line 106 of file CopyTexSubImage.hpp.
vl::CopyTexSubImage1D::CopyTexSubImage1D | ( | int | level, |
int | xoffset, | ||
int | x, | ||
int | y, | ||
int | width, | ||
Texture * | texture = NULL , |
||
EReadDrawBuffer | read_buffer = RDB_BACK_LEFT |
||
) | [inline] |
void vl::CopyTexSubImage1D::setTexture | ( | Texture * | tex ) | [inline] |
Definition at line 123 of file CopyTexSubImage.hpp.
References mTexture.
void vl::CopyTexSubImage1D::setLevel | ( | int | level ) | [inline] |
Definition at line 124 of file CopyTexSubImage.hpp.
void vl::CopyTexSubImage1D::setXOffset | ( | int | xoffset ) | [inline] |
Definition at line 125 of file CopyTexSubImage.hpp.
void vl::CopyTexSubImage1D::setX | ( | int | x ) | [inline] |
Definition at line 126 of file CopyTexSubImage.hpp.
void vl::CopyTexSubImage1D::setY | ( | int | y ) | [inline] |
Definition at line 127 of file CopyTexSubImage.hpp.
void vl::CopyTexSubImage1D::setWidth | ( | int | width ) | [inline] |
Definition at line 128 of file CopyTexSubImage.hpp.
Texture* vl::CopyTexSubImage1D::texture | ( | ) | [inline] |
Definition at line 130 of file CopyTexSubImage.hpp.
References vl::ref< T >::get(), and mTexture.
Referenced by copyPixels(), and CopyTexSubImage1D().
const Texture* vl::CopyTexSubImage1D::texture | ( | ) | const [inline] |
Definition at line 131 of file CopyTexSubImage.hpp.
References vl::ref< T >::get(), and mTexture.
int vl::CopyTexSubImage1D::level | ( | ) | const [inline] |
Definition at line 132 of file CopyTexSubImage.hpp.
References mLevel.
Referenced by copyPixels(), CopyTexSubImage1D(), and setLevel().
int vl::CopyTexSubImage1D::xoffset | ( | ) | const [inline] |
Definition at line 133 of file CopyTexSubImage.hpp.
References mXOffset.
Referenced by copyPixels(), CopyTexSubImage1D(), and setXOffset().
int vl::CopyTexSubImage1D::x | ( | ) | const [inline] |
Definition at line 134 of file CopyTexSubImage.hpp.
References mX.
Referenced by copyPixels(), CopyTexSubImage1D(), and setX().
int vl::CopyTexSubImage1D::y | ( | ) | const [inline] |
Definition at line 135 of file CopyTexSubImage.hpp.
References mY.
Referenced by copyPixels(), CopyTexSubImage1D(), and setY().
int vl::CopyTexSubImage1D::width | ( | ) | const [inline] |
Definition at line 136 of file CopyTexSubImage.hpp.
References mWidth.
Referenced by copyPixels(), CopyTexSubImage1D(), and setWidth().
virtual void vl::CopyTexSubImage1D::copyPixels | ( | ) | [inline, virtual] |
Copies the pixels from the specified read buffer to the specified texture.
Implements vl::CopyTexSubImage.
Definition at line 138 of file CopyTexSubImage.hpp.
References level(), vl::CopyTexSubImage::readBuffer(), vl::TD_TEXTURE_1D, texture(), VL_CHECK, VL_CHECK_OGL, width(), x(), xoffset(), and y().
ref<Texture> vl::CopyTexSubImage1D::mTexture [protected] |
Definition at line 171 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), setTexture(), and texture().
int vl::CopyTexSubImage1D::mLevel [protected] |
Definition at line 172 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), level(), and setLevel().
int vl::CopyTexSubImage1D::mXOffset [protected] |
Definition at line 173 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), setXOffset(), and xoffset().
int vl::CopyTexSubImage1D::mX [protected] |
Definition at line 174 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), setX(), and x().
int vl::CopyTexSubImage1D::mY [protected] |
Definition at line 175 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), setY(), and y().
int vl::CopyTexSubImage1D::mWidth [protected] |
Definition at line 176 of file CopyTexSubImage.hpp.
Referenced by CopyTexSubImage1D(), setWidth(), and width().