|
"L. Spiro Engine"
|
Loading a TGA file. More...
#include <LSITga.h>
Classes | |
| struct | LSI_TGAFOOTER |
| struct | LSI_TGAHEADER |
Static Public Member Functions | |
| static LSBOOL LSE_CALL | LoadTga (const LSUINT8 *_pui8FileData, LSUINT32 _ui32DataLen, LSUINT32 &_ui32Width, LSUINT32 &_ui32Height, LSI_PIXEL_FORMAT &_pfFormat, CImageLib::CTexelBuffer &_tbReturn) |
| static LSBOOL LSE_CALL | LoadTga (const LSCHAR *_pcFile, LSUINT32 &_ui32Width, LSUINT32 &_ui32Height, LSI_PIXEL_FORMAT &_pfFormat, CImageLib::CTexelBuffer &_tbReturn) |
Protected Types | |
| typedef struct lsi::CTga::LSI_TGAHEADER * | LPLSI_TGAHEADER |
|
typedef struct lsi::CTga::LSI_TGAHEADER | LPCLSI_TGAHEADER |
| typedef struct lsi::CTga::LSI_TGAFOOTER * | LPLSI_TGAFOOTER |
|
typedef struct lsi::CTga::LSI_TGAFOOTER | LPCLSI_TGAFOOTER |
Loading a TGA file.
Class CTga Description: Loading a TGA file.
typedef struct lsi::CTga::LSI_TGAFOOTER * lsi::CTga::LPLSI_TGAFOOTER [protected] |
The TGA file footer. Not used, but can be used for extra security.
typedef struct lsi::CTga::LSI_TGAHEADER * lsi::CTga::LPLSI_TGAHEADER [protected] |
The TGA file header.
| static LSBOOL LSE_CALL lsi::CTga::LoadTga | ( | const LSUINT8 * | _pui8FileData, |
| LSUINT32 | _ui32DataLen, | ||
| LSUINT32 & | _ui32Width, | ||
| LSUINT32 & | _ui32Height, | ||
| LSI_PIXEL_FORMAT & | _pfFormat, | ||
| CImageLib::CTexelBuffer & | _tbReturn | ||
| ) | [static] |
Load a TGA file from memory.
| _pui8FileData | The in-memory image of the file. |
| _ui32DataLen | The length of the in-memory image of the file. |
| _ui32Width | The returned width of the image. |
| _ui32Height | The returned height of the image. |
| _pfFormat | Indicates the format of the converted data held in _tbReturn. |
| _tbReturn | The returned data. |
| static LSBOOL LSE_CALL lsi::CTga::LoadTga | ( | const LSCHAR * | _pcFile, |
| LSUINT32 & | _ui32Width, | ||
| LSUINT32 & | _ui32Height, | ||
| LSI_PIXEL_FORMAT & | _pfFormat, | ||
| CImageLib::CTexelBuffer & | _tbReturn | ||
| ) | [static] |
Load a TGA file from a file.
| _pcFile | File from which to load the bitmap data. Must be in UTF-8 format. |
| _ui32Width | The returned width of the image. |
| _ui32Height | The returned height of the image. |
| _pfFormat | Indicates the format of the converted data held in _tbReturn. |
| _tbReturn | The returned data. |
1.7.3