Xface Core Library: XEngine::ITextureFile Class Reference

XFace / XEngine / XMath

XEngine::ITextureFile Class Reference
[XEngine]

#include <ITextureFile.h>

Inheritance diagram for XEngine::ITextureFile:

XEngine::BmpFile XEngine::TgaFile List of all members.

Detailed Description

Author:
Koray Balci
Version:
1.0
Date:
April 2003
Interface for texture loading. Derived classes implement the load() member function in order to support loading of various image file formats.


Public Member Functions

unsigned char * getData ()
 Accessor for loaded data.
int getNBits () const
 Accessor for number of bits per pixel.
int getWidth () const
 Accessor for width of the image.
int getHeight () const
 Accessor for height of the image.
virtual bool load (const std::string &filename)=0
 Pure virtual interface method for loading files. Main entry point.

Protected Attributes

int m_Width
 Width of the image.
int m_Height
 Height of the image.
int m_nBits
 Number of bits per pixel.
unsigned char * m_pData
 Image data here.

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