Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Texture Class Reference

A texture. More...

#include <Interface/opengl.h>

List of all members.

Public Member Functions

 Texture (void)
 Default constructor (constructs an invalid texture).
 Texture (const std::string &file, const uint flags=0)
 Loads a texture from a file.
 Texture (Image &img, const uint flags=0)
 Loads a texture from an image.
 Texture (const Texture &t)
 Copy constructor.
Textureoperator= (const Texture &t)
 Assignment operator.
void Select (void) const
 Selects the texture for rendering.
 ~Texture (void)
 Destructor.
bool operator== (const Texture &t)
 Equality test.
void AddWindow (const IO_Window *win)
 Loads the texture into a new window.
void RemoveWindow (const IO_Window *win)
 Unloads the the texture from an old window.


Detailed Description

A texture.


The documentation for this class was generated from the following files:
Generated on Fri Jan 12 14:15:02 2007 for Construct by  doxygen 1.4.3-20050530