class ffw::TgaLoader
Class List > ffw :: TgaLoader
Inherits the following classes: ffw::ImageReader
Public Functions
Type | Name |
---|---|
TgaLoader (const std::string & path) | |
TgaLoader (const TgaLoader & other) = delete | |
TgaLoader (TgaLoader && other) | |
void | swap (TgaLoader & other) |
TgaLoader & | operator= (const TgaLoader & other) = delete |
TgaLoader & | operator= (TgaLoader && other) |
virtual | ~TgaLoader () |
virtual size_t | readRow (void * dest) override Reads a row of pixels. |
virtual void | close () override Closes the file and frees the resources. |
Public Functions Documentation
function TgaLoader (1/3)
ffw::TgaLoader::TgaLoader (
const std::string & path
)
function TgaLoader (2/3)
ffw::TgaLoader::TgaLoader (
const TgaLoader & other
) = delete
function TgaLoader (3/3)
ffw::TgaLoader::TgaLoader (
TgaLoader && other
)
function swap
void ffw::TgaLoader::swap (
TgaLoader & other
)
function operator= (1/2)
TgaLoader & ffw::TgaLoader::operator= (
const TgaLoader & other
) = delete
function operator= (2/2)
TgaLoader & ffw::TgaLoader::operator= (
TgaLoader && other
)
function ~TgaLoader
virtual ffw::TgaLoader::~TgaLoader ()
function readRow
virtual size_t ffw::TgaLoader::readRow (
void * dest
)
Reads a row of pixels.
Parameters:
- dest The destination where to write the pixels
Note:
The dest parameter must be large enough to contain all pixels of a single row. Use reader->getStrideSize() to determine the size of the row in number of bytes.
See also:
Implements ImageReader::readRow
function close
virtual void ffw::TgaLoader::close ()
Closes the file and frees the resources.
Implements ImageReader::close
The documentation for this class was generated from the following file: include/ffw/media/tgaloader.h