Base class for the other texture classes. More...
#include <Texture.h>
Inherits ReferenceCountedData< TextureData >.
Inherited by GFX::Texture2D.
Public Member Functions | |
| bool | Create () | 
| Creates an empty texture object.  | |
| void | Free () | 
| Frees the texture object.  | |
| const nuint & | OriginalWidth () const | 
| Retrieves the width of the original texture.  | |
| const nuint & | OriginalHeight () const | 
| Retrieves the height of the original texture.  | |
| bool | CreateFromFile (const MPMA::Filename &filename, const TextureCreateParameters *properties=0) | 
| Creates a texture from a file.  | |
| bool | CreateFromMemory (void *sourceData, const TextureCreateParameters *properties, GLint pixelFormat=GL_RGBA, GLenum pixelSize=GL_UNSIGNED_BYTE, GLenum usage=GL_STATIC_DRAW) | 
| Creates a texture from data in memory.  | |
| void | BindAndSetState (int stage) | 
| Binds the texture and sets it to a texture stage.  | |
| void | Unbind (int stage) | 
| Unbinds the texture and clears it from a texture stage.  | |
Base class for the other texture classes.
 1.7.1