libdonut  2.3.2
Application framework for cross-platform game development in C++20
Classes | Namespaces | Enumerations
Image.hpp File Reference
#include <donut/Filesystem.hpp>
#include <donut/UniqueHandle.hpp>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <utility>

Go to the source code of this file.

Classes

class  donut::graphics::ImageView
 Read-only non-owning view over a 2D image. More...
 
struct  donut::graphics::ImageSavePNGOptions
 Options for saving an image in PNG format. More...
 
struct  donut::graphics::ImageSaveBMPOptions
 Options for saving an image in Windows Bitmap format. More...
 
struct  donut::graphics::ImageSaveTGAOptions
 Options for saving an image in Truevision TARGA format. More...
 
struct  donut::graphics::ImageSaveJPGOptions
 Options for saving an image in JPEG format. More...
 
struct  donut::graphics::ImageSaveHDROptions
 Options for saving an image in Radiance HDR RGBE format. More...
 
struct  donut::graphics::ImageSaveOptions
 Options for saving an image in any format. More...
 
struct  donut::graphics::ImageOptions
 Options for loading an image. More...
 
class  donut::graphics::Image
 Container for a 2D image. More...
 

Namespaces

 donut
 
 donut::graphics
 

Enumerations

enum class  donut::graphics::PixelFormat : std::uint32_t { donut::graphics::R , donut::graphics::RG , donut::graphics::RGB , donut::graphics::RGBA }
 Description of the number and meaning of the pixel component channels of an image. More...
 
enum class  donut::graphics::PixelComponentType : std::uint32_t { donut::graphics::U8 , donut::graphics::F16 , donut::graphics::F32 }
 Description of the data type of the pixel components of an image. More...