![]() |
nCine 2022.04.r504-20bd01e
A cross-platform 2D game engine
|
PNG texture saver. More...
#include <TextureSaverPng.h>
Classes | |
struct | PngProperties |
Public Member Functions | |
bool | saveToFile (const Properties &properties, const char *filename) override |
bool | saveToFile (const Properties &properties, nctl::UniquePtr< IFile > fileHandle) override |
bool | saveToFile (const Properties &properties, const PngProperties &pngProperties, const char *filename) |
bool | saveToFile (const Properties &properties, const PngProperties &pngProperties, nctl::UniquePtr< IFile > fileHandle) |
![]() | |
unsigned int | bpp (const Format format) |
unsigned int | dataSize (const Properties &properties) |
void | flipPixels (const Properties &properties, unsigned char *dest) |
Additional Inherited Members | |
![]() | |
enum class | Format { RGB8 , RGBA8 , RGB_FLOAT } |
PNG texture saver.
|
overridevirtual |
Implements ncine::ITextureSaver.
|
overridevirtual |
Implements ncine::ITextureSaver.