Class QOIImage#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

Class Documentation#

class QOIImage : public TRAP::Image#

Public Functions

explicit QOIImage(std::filesystem::path filepath)#

Constructor.

Parameters:

filepath – File path of the image to load.

QOIImage(const QOIImage&) noexcept = default#

Copy constructor.

QOIImage &operator=(const QOIImage&) noexcept = default#

Copy assignment operator.

QOIImage(QOIImage&&) noexcept = default#

Move constructor.

QOIImage &operator=(QOIImage&&) noexcept = default#

Move assignment operator.

~QOIImage() override = default#

Destructor.

virtual constexpr std::span<const u8> GetPixelData() const noexcept override#

Retrieve the raw pixel data of the image.

Returns:

Raw pixel data.