Xface Core Library: XEngine::ITexture Class Reference

XFace / XEngine / XMath

XEngine::ITexture Class Reference
[XEngine]

#include <ITexture.h>

Inheritance diagram for XEngine::ITexture:

XEngine::NamedObj XEngine::Texture2D List of all members.

Detailed Description

Author:
Koray Balci
Version:
1.0 (August 2002)
1.1 (Jan 2003)
Serves as a base class for texture mapping. Stores the texture name and ID, ITexture instances are created in ITextureLoader interface and registered to TextureManager using TextureManager::load() member.

Each instance should be named whit a unique string and registered to TextureManager for consistent behaviour.

See also:
Texture2D, ITextureLoader, TextureLoaderGL, TextureManager


Public Types

enum  TEXTURETYPE { TEXTURE2D }

Public Member Functions

virtual TEXTURETYPE getTextureType () const =0
 Returns the type of texture.
const unsigned int getTextureID () const
 Returns the texture id attached to this object.
 ITexture (const std::string &name)
 Constructor.
virtual ~ITexture ()
 Destructor.

Member Enumeration Documentation

enum XEngine::ITexture::TEXTURETYPE
 

Enumeration for the types of textures, currently there is only one, but later, we will need 1D and 3D as well perhaps.

Enumerator:
TEXTURE2D  2D Texture type identifier


The documentation for this class was generated from the following file:
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by  doxygen 1.4.6-NO