Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::CopyTexSubImage3D Class Reference

Wraps glCopyTexSubImage3D, see also CopyTexSubImage. To be used also for 2D array textures. More...

#include <CopyTexSubImage.hpp>

Inheritance diagram for vl::CopyTexSubImage3D:
vl::CopyTexSubImage vl::RenderEventCallback vl::Object

List of all members.

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)
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)
Texturetexture ()
const Texturetexture () 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< TexturemTexture
int mLevel
int mXOffset
int mYOffset
int mZOffset
int mX
int mY
int mWidth
int mHeight

Detailed Description

Wraps glCopyTexSubImage3D, see also CopyTexSubImage. To be used also for 2D array textures.

Definition at line 283 of file CopyTexSubImage.hpp.


Constructor & Destructor Documentation

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]

Member Function Documentation

void vl::CopyTexSubImage3D::setTexture ( Texture tex ) [inline]

Definition at line 304 of file CopyTexSubImage.hpp.

References mTexture.

void vl::CopyTexSubImage3D::setLevel ( int  level ) [inline]

Definition at line 305 of file CopyTexSubImage.hpp.

References level(), and mLevel.

void vl::CopyTexSubImage3D::setXOffset ( int  xoffset ) [inline]

Definition at line 306 of file CopyTexSubImage.hpp.

References mXOffset, and xoffset().

void vl::CopyTexSubImage3D::setYOffset ( int  yoffset ) [inline]

Definition at line 307 of file CopyTexSubImage.hpp.

References mYOffset, and yoffset().

void vl::CopyTexSubImage3D::setZOffset ( int  zoffset ) [inline]

Definition at line 308 of file CopyTexSubImage.hpp.

References mZOffset, and zoffset().

void vl::CopyTexSubImage3D::setX ( int  x ) [inline]

Definition at line 309 of file CopyTexSubImage.hpp.

References mX, and x().

void vl::CopyTexSubImage3D::setY ( int  y ) [inline]

Definition at line 310 of file CopyTexSubImage.hpp.

References mY, and y().

void vl::CopyTexSubImage3D::setWidth ( int  width ) [inline]

Definition at line 311 of file CopyTexSubImage.hpp.

References mWidth, and width().

void vl::CopyTexSubImage3D::setHeight ( int  height ) [inline]

Definition at line 312 of file CopyTexSubImage.hpp.

References height(), and mHeight.

Texture* vl::CopyTexSubImage3D::texture (  ) [inline]

Definition at line 314 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 315 of file CopyTexSubImage.hpp.

References vl::ref< T >::get(), and mTexture.

int vl::CopyTexSubImage3D::level (  ) const [inline]

Definition at line 316 of file CopyTexSubImage.hpp.

References mLevel.

Referenced by copyPixels(), CopyTexSubImage3D(), and setLevel().

int vl::CopyTexSubImage3D::xoffset (  ) const [inline]

Definition at line 317 of file CopyTexSubImage.hpp.

References mXOffset.

Referenced by copyPixels(), CopyTexSubImage3D(), and setXOffset().

int vl::CopyTexSubImage3D::yoffset (  ) const [inline]

Definition at line 318 of file CopyTexSubImage.hpp.

References mYOffset.

Referenced by copyPixels(), CopyTexSubImage3D(), and setYOffset().

int vl::CopyTexSubImage3D::zoffset (  ) const [inline]

Definition at line 319 of file CopyTexSubImage.hpp.

References mZOffset.

Referenced by copyPixels(), CopyTexSubImage3D(), and setZOffset().

int vl::CopyTexSubImage3D::x (  ) const [inline]

Definition at line 320 of file CopyTexSubImage.hpp.

References mX.

Referenced by copyPixels(), CopyTexSubImage3D(), and setX().

int vl::CopyTexSubImage3D::y (  ) const [inline]

Definition at line 321 of file CopyTexSubImage.hpp.

References mY.

Referenced by copyPixels(), CopyTexSubImage3D(), and setY().

int vl::CopyTexSubImage3D::width (  ) const [inline]

Definition at line 322 of file CopyTexSubImage.hpp.

References mWidth.

Referenced by copyPixels(), CopyTexSubImage3D(), and setWidth().

int vl::CopyTexSubImage3D::height (  ) const [inline]

Definition at line 323 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 325 of file CopyTexSubImage.hpp.

References vl::Log::error(), vl::Has_Texture_3D, height(), level(), vl::CopyTexSubImage::readBuffer(), vl::TD_TEXTURE_3D, texture(), VL_CHECK, VL_CHECK_OGL, width(), x(), xoffset(), y(), yoffset(), and zoffset().


Member Data Documentation

Definition at line 367 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setTexture(), and texture().

Definition at line 368 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), level(), and setLevel().

Definition at line 369 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setXOffset(), and xoffset().

Definition at line 370 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setYOffset(), and yoffset().

Definition at line 371 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setZOffset(), and zoffset().

int vl::CopyTexSubImage3D::mX [protected]

Definition at line 372 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setX(), and x().

int vl::CopyTexSubImage3D::mY [protected]

Definition at line 373 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setY(), and y().

Definition at line 374 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), setWidth(), and width().

Definition at line 375 of file CopyTexSubImage.hpp.

Referenced by CopyTexSubImage3D(), height(), and setHeight().


The documentation for this class was generated from the following file:

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:09.
Permission is granted to use this page to write and publish articles regarding Visualization Library.