PixelFormat
Enumerates the supported pixel storage formats in memory.
@ RGB_F32
3-channel format: Red, Green, Blue in 32-bit float.
@ RGBA_F32
4-channel format: Red, Green, Blue, Alpha in 32-bit float.
constexpr std::uint8_t getChannelCount(PixelFormat pf) noexcept
Returns the number of channels for a given PixelFormat.
constexpr std::size_t getPixelSizeInBytes(PixelFormat fmt) noexcept
Returns the size in bytes of a single pixel for a given PixelFormat.
@ Common
General errors applicable to multiple subsystems.
Manages the lifecycle of a single IWorkingImage instance.