diff --git a/include/Spectre/Graphics/PixelFormat.h b/include/Spectre/Graphics/PixelFormat.h index 8eda43d..b2a1ac4 100644 --- a/include/Spectre/Graphics/PixelFormat.h +++ b/include/Spectre/Graphics/PixelFormat.h @@ -6,8 +6,8 @@ namespace sp { enum PixelFormat { PF_Unknown = 0, - PF_RGB = 1, - PF_RGBA = 2, + PF_RGB = 1, // Standard RGB: 24 bits per pixel, 8 bits are used for red, green, blue. + PF_RGBA = 2, // Standard RGBA: 32 bits per pixel, 8 bits are used for red, green, blue, alpha. PF_32BGR = 3, // 32 bits per pixel, 8 bits are used for blue, green, red. Last 8 bits are unused. PF_32BGRA = 4, // 32 bits per pixel, 8 bits are used for blue, green, red, alpha. PF_Alpha = 5, // 8 bit alpha channel.