Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::ImageWriterImpl Class Referenceabstract

#include <ImageWriter.hpp>

Inheritance diagram for castor::ImageWriterImpl:
Inheritance graph
[legend]
Collaboration diagram for castor::ImageWriterImpl:
Collaboration graph
[legend]

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.
 

Constructor & Destructor Documentation

◆ ~ImageWriterImpl()

virtual castor::ImageWriterImpl::~ImageWriterImpl ( )
virtualdefaultnoexcept

Member Function Documentation

◆ write()

virtual CU_API bool castor::ImageWriterImpl::write ( Path const & path,
PxBufferBase const & buffer ) const
pure virtual

Saves an image data to a file.

Parameters
[in]pathThe image file path.
[in]bufferThe image data.
Returns
false if any problem occured.

Implemented in castor::GliImageWriter, and castor::StbImageWriter.


The documentation for this class was generated from the following file: