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

Moteur3D::BaseTexture Class Reference

#include <BaseTexture.h>

Inheritance diagram for Moteur3D::BaseTexture:

Moteur3D::ITexture List of all members.

Public Types

enum  TexturePrecision { Fast, Precise }

Public Member Functions

 BaseTexture (TexturePrecision precision=Precise, bool useMipMap=true, GLenum format=GL_RGB)
 ~BaseTexture ()
virtual int GetWidth ()
virtual int GetHeight ()
virtual void Register ()
virtual void Bind ()
virtual void Free ()
virtual void SetData (int width, int height, int internalFormat, GLenum dataType, void *textureData, bool canFreeData)

Protected Attributes

bool m_UseMipMap
GLuint m_TextureID
void * m_TextureData
int m_TextureWidth
int m_TextureHeight
bool m_CanFreeTextureData
int m_InternalFormat
GLenum m_DataType
GLenum m_OutputFormat
TexturePrecision m_TexturePrecision

Detailed Description

Todo:
DOCUMENT THIS CLASS !
Todo:
LoadFromJpeg(), LoadFromGif() etc


Member Enumeration Documentation

enum Moteur3D::BaseTexture::TexturePrecision
 

Enumerator:
Fast 
Precise 

Reimplemented from Moteur3D::ITexture.


Constructor & Destructor Documentation

Moteur3D::BaseTexture::BaseTexture TexturePrecision  precision = Precise,
bool  useMipMap = true,
GLenum  format = GL_RGB
 

Moteur3D::BaseTexture::~BaseTexture  ) 
 


Member Function Documentation

virtual void Moteur3D::BaseTexture::Bind  )  [virtual]
 

Implements Moteur3D::ITexture.

virtual void Moteur3D::BaseTexture::Free  )  [virtual]
 

Implements Moteur3D::ITexture.

virtual int Moteur3D::BaseTexture::GetHeight  )  [inline, virtual]
 

Implements Moteur3D::ITexture.

virtual int Moteur3D::BaseTexture::GetWidth  )  [inline, virtual]
 

Implements Moteur3D::ITexture.

virtual void Moteur3D::BaseTexture::Register  )  [virtual]
 

Implements Moteur3D::ITexture.

virtual void Moteur3D::BaseTexture::SetData int  width,
int  height,
int  internalFormat,
GLenum  dataType,
void *  textureData,
bool  canFreeData
[inline, virtual]
 


Member Data Documentation

bool Moteur3D::BaseTexture::m_CanFreeTextureData [protected]
 

GLenum Moteur3D::BaseTexture::m_DataType [protected]
 

int Moteur3D::BaseTexture::m_InternalFormat [protected]
 

GLenum Moteur3D::BaseTexture::m_OutputFormat [protected]
 

void* Moteur3D::BaseTexture::m_TextureData [protected]
 

int Moteur3D::BaseTexture::m_TextureHeight [protected]
 

GLuint Moteur3D::BaseTexture::m_TextureID [protected]
 

TexturePrecision Moteur3D::BaseTexture::m_TexturePrecision [protected]
 

Reimplemented from Moteur3D::ITexture.

int Moteur3D::BaseTexture::m_TextureWidth [protected]
 

bool Moteur3D::BaseTexture::m_UseMipMap [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Oct 15 15:05:52 2005 for Moteur3D by  doxygen 1.4.4