#include <Interface/opengl.h>
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. | |
| Texture & | operator= (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. | |
1.4.3-20050530