Class PFMImage#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

Class Documentation#

class PFMImage : public TRAP::Image#

Public Functions

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

Constructor.

Parameters:

filepath – File path of the image to load.

PFMImage(const PFMImage&) noexcept = default#

Copy constructor.

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

Copy assignment operator.

PFMImage(PFMImage&&) noexcept = default#

Move constructor.

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

Move assignment operator.

~PFMImage() 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.