Texture Class Reference

Texture contains the data of a texture in the 3D solution viewer. More...

#include <Texture.h>

List of all members.

Public Member Functions

 Texture ()
 Texture (int _ind, const QImage &_img, bool _bound)

Public Attributes

QImage img
int ind
 index of for the textures table in the GLWidget where we should find the proper id.
bool bound
 is this a real texture that is bound in the GL context or not? for instance, the big Little Genius texture is not bound to a GL context.


Detailed Description

Texture contains the data of a texture in the 3D solution viewer.

It holds the original QImage of the texture and its index in GLWidget tables.


Constructor & Destructor Documentation

Texture::Texture (  )  [inline]

Texture::Texture ( int  _ind,
const QImage &  _img,
bool  _bound 
) [inline]


Member Data Documentation

QImage Texture::img

index of for the textures table in the GLWidget where we should find the proper id.

is this a real texture that is bound in the GL context or not? for instance, the big Little Genius texture is not bound to a GL context.

only small subsets of it are.


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