Ultralight C++ API 1.3.0
Loading...
Searching...
No Matches
Bitmap.h File Reference

Go to the source code of this file.

Classes

class  ultralight::Bitmap
 Bitmap container with basic blitting and conversion routines. More...
 
class  ultralight::LockedPixels< T >
 Forward declaration for the LockedPixels class. More...
 

Namespaces

namespace  ultralight
 

Macros

#define GetBytesPerPixel(x)   (x == BitmapFormat::A8_UNORM ? 1 : 4)
 Macro to get the bytes per pixel from a BitmapFormat.
 

Enumerations

enum class  ultralight::BitmapFormat : uint8_t { ultralight::A8_UNORM , ultralight::BGRA8_UNORM_SRGB }
 The various Bitmap formats. More...
 

Macro Definition Documentation

◆ GetBytesPerPixel

#define GetBytesPerPixel (   x)    (x == BitmapFormat::A8_UNORM ? 1 : 4)

Macro to get the bytes per pixel from a BitmapFormat.