Castor3D 0.16.0
Multiplatform 3D engine
|
#include <ImageWriter.hpp>
Public Member Functions | |
virtual | ~ImageWriterImpl () noexcept=default |
virtual CU_API bool | write (Path const &path, PxBufferBase const &buffer) const =0 |
Saves an image data to a file. | |
Additional Inherited Members | |
Protected Member Functions inherited from castor::NonMovable | |
NonMovable ()=default | |
Constructor. | |
~NonMovable () noexcept=default | |
Destructor. | |
|
virtualdefaultnoexcept |
|
pure virtual |
Saves an image data to a file.
[in] | path | The image file path. |
[in] | buffer | The image data. |
false
if any problem occured. Implemented in castor::GliImageWriter, and castor::StbImageWriter.