molecular
|
Interface to TGA files. More...
#include <TgaFile.h>
Classes | |
struct | Header |
Public Member Functions | |
TgaFile2 (const void *data, size_t size) | |
uint16_t | GetWidth () const |
uint16_t | GetHeight () const |
PixelFormat | GetFormat () const |
const void * | GetImageData () const |
size_t | GetImageSize () const |
bool | IsUpsideDown () const |
unsigned int | GetBytesPerPixel () const |
Interface to TGA files.
Indexed and/or RLE images not supported. Does not copy any data.
|
inline |
data | File contents. Must be valid while this object is in use. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |