IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
color_enums.hxx
Go to the documentation of this file.
1
3
4#pragma once
5#include <ice/base.hxx>
6
7namespace ice
8{
9
10 enum class ColorSpace : ice::u8
11 {
13 // P3D65,
14 // RC2020
15 };
16
17 enum class ColorFormat : ice::u8
18 {
19 // Supported color formats
21 OkLAB, // Implemented for functional reasons, mostly unused directly.
22 LinearRGB, // Most common shader compatible color
23 StandardRGB, // Implemented for debugging purposes? Not sure if needed.
24
25 // uint8 version of some color formats to pass to shaders
28 };
29
30} // namespace ice
SPDX-License-Identifier: MIT.
Definition array.hxx:12
ColorFormat
Definition color_enums.hxx:18
@ LinearRGBu8
Definition color_enums.hxx:27
@ OkLAB
Definition color_enums.hxx:21
@ OkLCHu8
Definition color_enums.hxx:26
@ StandardRGB
Definition color_enums.hxx:23
@ LinearRGB
Definition color_enums.hxx:22
@ OkLCH
Definition color_enums.hxx:20
ColorSpace
Definition color_enums.hxx:11
@ SRGB
Definition color_enums.hxx:12
std::uint8_t u8
Definition types.hxx:24