Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::CopyTexSubImage1D Class Reference

Wraps glCopyTexSubImage1D, see also CopyTexSubImage. More...

#include <CopyTexSubImage.hpp>

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

List of all members.

Public Member Functions

 CopyTexSubImage1D (int level, int xoffset, int x, int y, int width, Texture *texture=NULL, 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 setX (int x)
void setY (int y)
void setWidth (int width)
Texturetexture ()
const Texturetexture () 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< TexturemTexture
int mLevel
int mXOffset
int mX
int mY
int mWidth

Detailed Description

Wraps glCopyTexSubImage1D, see also CopyTexSubImage.


Constructor & Destructor Documentation

vl::CopyTexSubImage1D::CopyTexSubImage1D ( int  level,
int  xoffset,
int  x,
int  y,
int  width,
Texture texture = NULL,
EReadDrawBuffer  read_buffer = RDB_BACK_LEFT 
) [inline]

Member Function Documentation

virtual const char* vl::CopyTexSubImage1D::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::CopyTexSubImage.

void vl::CopyTexSubImage1D::setTexture ( Texture tex ) [inline]
void vl::CopyTexSubImage1D::setLevel ( int  level ) [inline]
void vl::CopyTexSubImage1D::setXOffset ( int  xoffset ) [inline]
void vl::CopyTexSubImage1D::setX ( int  x ) [inline]
void vl::CopyTexSubImage1D::setY ( int  y ) [inline]
void vl::CopyTexSubImage1D::setWidth ( int  width ) [inline]
Texture* vl::CopyTexSubImage1D::texture (  ) [inline]
const Texture* vl::CopyTexSubImage1D::texture (  ) const [inline]
int vl::CopyTexSubImage1D::level (  ) const [inline]
int vl::CopyTexSubImage1D::xoffset (  ) const [inline]
int vl::CopyTexSubImage1D::x (  ) const [inline]
int vl::CopyTexSubImage1D::y (  ) const [inline]
int vl::CopyTexSubImage1D::width (  ) const [inline]
virtual void vl::CopyTexSubImage1D::copyPixels (  ) [inline, virtual]

Copies the pixels from the specified read buffer to the specified texture.

Implements vl::CopyTexSubImage.


Member Data Documentation

int vl::CopyTexSubImage1D::mX [protected]
int vl::CopyTexSubImage1D::mY [protected]

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

Visualization Library v2010.11.1125 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Nov 26 2010 03:13:30.
Permission is granted to use this page to write and publish articles regarding Visualization Library.