IceShard
1
A personal game engine project, with development focused on 2D/2.5D games.
Toggle main menu visibility
Loading...
Searching...
No Matches
utils
public
ice
detail
color_enums.hxx
Go to the documentation of this file.
1
3
4
#pragma once
5
#include <
ice/base.hxx
>
6
7
namespace
ice
8
{
9
10
enum class
ColorSpace
:
ice::u8
11
{
12
SRGB
,
13
// P3D65,
14
// RC2020
15
};
16
17
enum class
ColorFormat
:
ice::u8
18
{
19
// Supported color formats
20
OkLCH
,
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
26
OkLCHu8
,
27
LinearRGBu8
,
28
};
29
30
}
// namespace ice
base.hxx
ice
SPDX-License-Identifier: MIT.
Definition
array.hxx:12
ice::ColorFormat
ColorFormat
Definition
color_enums.hxx:18
ice::ColorFormat::LinearRGBu8
@ LinearRGBu8
Definition
color_enums.hxx:27
ice::ColorFormat::OkLAB
@ OkLAB
Definition
color_enums.hxx:21
ice::ColorFormat::OkLCHu8
@ OkLCHu8
Definition
color_enums.hxx:26
ice::ColorFormat::StandardRGB
@ StandardRGB
Definition
color_enums.hxx:23
ice::ColorFormat::LinearRGB
@ LinearRGB
Definition
color_enums.hxx:22
ice::ColorFormat::OkLCH
@ OkLCH
Definition
color_enums.hxx:20
ice::ColorSpace
ColorSpace
Definition
color_enums.hxx:11
ice::ColorSpace::SRGB
@ SRGB
Definition
color_enums.hxx:12
ice::u8
std::uint8_t u8
Definition
types.hxx:24
Generated by
1.18.0