Antkeeper  0.0.1
format.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Christopher J. Howard
3  *
4  * This file is part of Antkeeper source code.
5  *
6  * Antkeeper source code is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Antkeeper source code is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Antkeeper source code. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef ANTKEEPER_GL_FORMAT_HPP
21 #define ANTKEEPER_GL_FORMAT_HPP
22 
23 #include <cstdint>
24 
25 namespace gl {
26 
28 enum class format: std::uint32_t
29 {
30  undefined,
39  r8_unorm,
40  r8_snorm,
41  r8_uscaled,
42  r8_sscaled,
43  r8_uint,
44  r8_sint,
45  r8_srgb,
46  r8g8_unorm,
47  r8g8_snorm,
50  r8g8_uint,
51  r8g8_sint,
52  r8g8_srgb,
100  r16_unorm,
101  r16_snorm,
102  r16_uscaled,
103  r16_sscaled,
104  r16_uint,
105  r16_sint,
106  r16_sfloat,
107  r16g16_unorm,
108  r16g16_snorm,
111  r16g16_uint,
112  r16g16_sint,
128  r32_uint,
129  r32_sint,
130  r32_sfloat,
131  r32g32_uint,
132  r32g32_sint,
140  r64_uint,
141  r64_sint,
142  r64_sfloat,
143  r64g64_uint,
144  r64g64_sint,
154  d16_unorm,
156  d32_sfloat,
157  s8_uint,
215 };
216 
217 } // namespace gl
218 
219 #endif // ANTKEEPER_GL_FORMAT_HPP
Graphics library interface.
Definition: window.hpp:28
format
Image and vertex formats.
Definition: format.hpp:29
@ x8_d24_unorm_pack32
@ astc_8x8_srgb_block
@ bc1_rgba_unorm_block
@ astc_5x4_unorm_block
@ eac_r11_unorm_block
@ astc_8x5_srgb_block
@ a1r5g5b5_unorm_pack16
@ a2b10g10r10_snorm_pack32
@ a8b8g8r8_srgb_pack32
@ astc_10x6_srgb_block
@ astc_10x5_unorm_block
@ astc_5x4_srgb_block
@ b4g4r4a4_unorm_pack16
@ astc_8x8_unorm_block
@ bc1_rgb_unorm_block
@ eac_r11g11_snorm_block
@ r16g16b16a16_sscaled
@ astc_6x5_unorm_block
@ astc_10x10_srgb_block
@ astc_4x4_unorm_block
@ d32_sfloat_s8_uint
@ r16g16b16a16_uscaled
@ b5g5r5a1_unorm_pack16
@ etc2_r8g8b8a8_unorm_block
@ bc1_rgba_srgb_block
@ astc_4x4_srgb_block
@ etc2_r8g8b8a1_srgb_block
@ astc_10x5_srgb_block
@ etc2_r8g8b8a1_unorm_block
@ a2r10g10b10_sscaled_pack32
@ etc2_r8g8b8a8_srgb_block
@ a2b10g10r10_uscaled_pack32
@ a8b8g8r8_sint_pack32
@ eac_r11_snorm_block
@ a2b10g10r10_uint_pack32
@ astc_10x8_srgb_block
@ a8b8g8r8_unorm_pack32
@ bc1_rgb_srgb_block
@ e5b9g9r9_ufloat_pack32
@ a2b10g10r10_sint_pack32
@ r32g32b32a32_sfloat
@ astc_5x5_srgb_block
@ astc_8x5_unorm_block
@ a8b8g8r8_uscaled_pack32
@ b10g11r11_ufloat_pack32
@ astc_5x5_unorm_block
@ astc_12x10_srgb_block
@ a8b8g8r8_sscaled_pack32
@ astc_8x6_unorm_block
@ astc_12x10_unorm_block
@ r5g5b5a1_unorm_pack16
@ r16g16b16a16_sfloat
@ a2r10g10b10_unorm_pack32
@ etc2_r8g8b8_unorm_block
@ a2r10g10b10_uint_pack32
@ astc_10x8_unorm_block
@ astc_8x6_srgb_block
@ a2r10g10b10_sint_pack32
@ r16g16b16a16_snorm
@ b5g6r5_unorm_pack16
@ a2r10g10b10_snorm_pack32
@ r64g64b64a64_sfloat
@ eac_r11g11_unorm_block
@ r16g16b16a16_unorm
@ r5g6b5_unorm_pack16
@ astc_6x6_unorm_block
@ astc_6x6_srgb_block
@ astc_10x6_unorm_block
@ a2b10g10r10_sscaled_pack32
@ astc_10x10_unorm_block
@ astc_12x12_unorm_block
@ a8b8g8r8_snorm_pack32
@ astc_6x5_srgb_block
@ a8b8g8r8_uint_pack32
@ a2b10g10r10_unorm_pack32
@ r4g4b4a4_unorm_pack16
@ astc_12x12_srgb_block
@ etc2_r8g8b8_srgb_block
@ a2r10g10b10_uscaled_pack32