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::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)
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.

Definition at line 106 of file CopyTexSubImage.hpp.


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

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.

References level(), and mLevel.

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

Definition at line 125 of file CopyTexSubImage.hpp.

References mXOffset, and xoffset().

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

Definition at line 126 of file CopyTexSubImage.hpp.

References mX, and x().

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

Definition at line 127 of file CopyTexSubImage.hpp.

References mY, and y().

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

Definition at line 128 of file CopyTexSubImage.hpp.

References mWidth, and width().

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().


Member Data Documentation

Definition at line 171 of file CopyTexSubImage.hpp.

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

Definition at line 172 of file CopyTexSubImage.hpp.

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

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().

Definition at line 176 of file CopyTexSubImage.hpp.

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


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.