Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | List of all members
castor::GliImageWriter Class Reference

#include <GliImageWriter.hpp>

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

Public Member Functions

CU_API bool write (Path const &path, PxBufferBase const &buffer) const override
 Saves an image data to a file.
 
- Public Member Functions inherited from castor::ImageWriterImpl
virtual ~ImageWriterImpl () noexcept=default
 

Static Public Member Functions

static CU_API void registerWriter (ImageWriter &reg)
 
static CU_API void unregisterWriter (ImageWriter &reg)
 

Additional Inherited Members

- Protected Member Functions inherited from castor::NonMovable
 NonMovable ()=default
 Constructor.
 
 ~NonMovable () noexcept=default
 Destructor.
 

Member Function Documentation

◆ registerWriter()

static CU_API void castor::GliImageWriter::registerWriter ( ImageWriter & reg)
static

◆ unregisterWriter()

static CU_API void castor::GliImageWriter::unregisterWriter ( ImageWriter & reg)
static

◆ write()

CU_API bool castor::GliImageWriter::write ( Path const & path,
PxBufferBase const & buffer ) const
overridevirtual

Saves an image data to a file.

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

Implements castor::ImageWriterImpl.


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