JNGL
Easy to use cross-platform 2D game library
|
Containing the pixel data of an image file. More...
#include <jngl/ImageData.hpp>
Static Public Member Functions | |
static std::unique_ptr< ImageData > | load (const std::string &filename) |
Passing a filename will load the specified filename. More... | |
Containing the pixel data of an image file.
Definition at line 14 of file ImageData.hpp.
|
static |
Passing a filename will load the specified filename.
PNG and WebP files are supported.