Class CustomImage#
Defined in File CustomImage.h
Inheritance Relationships#
Base Type#
public TRAP::Image
(Class Image)
Class Documentation#
-
class CustomImage : public TRAP::Image#
Public Functions
-
template<typename T>
CustomImage(std::filesystem::path filepath, u32 width, u32 height, ColorFormat format, std::vector<T> pixelData)# Constructor.
- Parameters:
filepath – File path of image.
width – Width for the image.
height – Height for the image.
format – Color format of the pixel data.
pixelData – Raw pixel data.
-
CustomImage(const CustomImage&) noexcept = default#
Copy constructor.
-
CustomImage &operator=(const CustomImage&) noexcept = default#
Copy assignment operator.
-
CustomImage(CustomImage&&) noexcept = default#
Move constructor.
-
CustomImage &operator=(CustomImage&&) noexcept = default#
Move assignment operator.
-
~CustomImage() override = default#
Destructor.
-
template<typename T>