#include <TextureTarga.h>
Inheritance diagram for TextureTarga:
Public Member Functions | |
TextureTarga () | |
virtual bool | Read (IDataSource *ds) |
Protected Member Functions | |
void | ConvertFormat (uint8 *buffer, TGA &tga) |
Definition at line 27 of file TextureTarga.h.
TextureTarga::TextureTarga | ( | ) | [inline] |
Definition at line 29 of file TextureTarga.h.
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.