Pipeline source for reading PNG images from memory or file. More...
#include <spatmod/imagesourcepng.h>

Public Member Functions | |
| SOURCE_PNG (UINT8 *&MemBuffer, UINT32 BufferSize) | |
| SOURCE_PNG (SIMPLE_ARRAY< UINT8 > &MemBuffer) | |
| SOURCE_PNG (const FILEPATH &FilePath) | |
| virtual | ~SOURCE_PNG () |
| void | SetTransparentInvalid (bool TransparentInvalid=true) |
Pipeline source for reading PNG images from memory or file.
| SPATMOD::IMAGE::SOURCE_PNG::SOURCE_PNG | ( | const FILEPATH & | FilePath | ) | [explicit] |
Construct with FILEPATH.
| SPATMOD::IMAGE::SOURCE_PNG::SOURCE_PNG | ( | SIMPLE_ARRAY< UINT8 > & | MemBuffer | ) | [explicit] |
Construct with memory buffer (SIMPLE_ARRAY).
Will take ownership of buffer.
| MemBuffer | Memory buffer, will be returned empty |
Construct with memory buffer (pointer/size).
Will take ownership of buffer, pointer will be returned as NULL
| MemBuffer | Memory buffer, will be returned as NULL | |
| BufferSize | Buffer size |
| virtual SPATMOD::IMAGE::SOURCE_PNG::~SOURCE_PNG | ( | ) | [virtual] |
Destructor.
| void SPATMOD::IMAGE::SOURCE_PNG::SetTransparentInvalid | ( | bool | TransparentInvalid = true |
) | [inline] |
Set to treat fully transparent pixels as "invalid".
1.6.1