TextureTarga Struct Reference

#include <TextureTarga.h>

Inheritance diagram for TextureTarga:

Texture List of all members.

Public Member Functions

 TextureTarga ()
virtual bool Read (IDataSource *ds)

Protected Member Functions

void ConvertFormat (uint8 *buffer, TGA &tga)

Detailed Description

Definition at line 27 of file TextureTarga.h.


Constructor & Destructor Documentation

TextureTarga::TextureTarga (  )  [inline]

Definition at line 29 of file TextureTarga.h.


Member Function Documentation

void TextureTarga::ConvertFormat ( uint8 buffer,
TGA tga 
) [protected]

Definition at line 179 of file TextureTarga.cpp.

References TGA::Bpp, Texture::buffer, TGA::bytesPerPixel, TGA::Flipped, Texture::height, line_end, and Texture::width.

Referenced by Read().

bool TextureTarga::Read ( IDataSource ds  )  [virtual]

Reimplemented from Texture.

Definition at line 48 of file TextureTarga.cpp.

References TGA::Bpp, Texture::buffer, TGA::bytesPerPixel, Texture::CalcLOG2s(), TGA::Compressed, ConvertFormat(), Texture::format, TGA::Height, Texture::height, TGA::Read(), IDataSource::read(), IDataSource::read1(), IDataSource::seek(), IDataSource::skip(), TEX_FMT_STANDARD, TGA::Width, and Texture::width.


The documentation for this struct was generated from the following files:
Generated on Fri Jul 27 22:30:01 2007 for pentagram by  doxygen 1.4.7