Overview
Download
Documentation
Contact
Sources
API
Display
Image
texture_format.h
1
/*
2
** ClanLib SDK
3
** Copyright (c) 1997-2020 The ClanLib Team
4
**
5
** This software is provided 'as-is', without any express or implied
6
** warranty. In no event will the authors be held liable for any damages
7
** arising from the use of this software.
8
**
9
** Permission is granted to anyone to use this software for any purpose,
10
** including commercial applications, and to alter it and redistribute it
11
** freely, subject to the following restrictions:
12
**
13
** 1. The origin of this software must not be misrepresented; you must not
14
** claim that you wrote the original software. If you use this software
15
** in a product, an acknowledgment in the product documentation would be
16
** appreciated but is not required.
17
** 2. Altered source versions must be plainly marked as such, and must not be
18
** misrepresented as being the original software.
19
** 3. This notice may not be removed or altered from any source distribution.
20
**
21
** Note: Some of the libraries ClanLib may link to may have additional
22
** requirements or restrictions.
23
**
24
** File Author(s):
25
**
26
** Magnus Norddahl
27
** Mark Page
28
*/
29
30
#pragma once
31
32
namespace
clan
33
{
36
38
enum class
TextureFormat
39
{
40
// Standard ClanLib sized formats (most common listed first)
41
rgba8
,
42
rgb8
,
43
bgra8
,
44
bgr8
,
45
46
// sized internal format
47
stencil_index1
,
// For RenderBuffer ?
48
stencil_index4
,
// For RenderBuffer ?
49
stencil_index8
,
// For RenderBuffer ?
50
stencil_index16
,
// For RenderBuffer ?
51
52
r8
,
53
r8_snorm
,
54
r16
,
55
r16_snorm
,
56
rg8
,
57
rg8_snorm
,
58
rg16
,
59
rg16_snorm
,
60
r3_g3_b2
,
61
rgb4
,
62
rgb5
,
63
//rgb8, (listed earlier)
64
rgb8_snorm
,
65
rgb10
,
66
rgb12
,
67
rgb16
,
68
rgb16_snorm
,
69
rgba2
,
70
rgba4
,
71
rgb5_a1
,
72
//rgba8, (listed earlier)
73
rgba8_snorm
,
74
rgb10_a2
,
75
rgba12
,
76
rgba16
,
77
rgba16_snorm
,
78
srgb8
,
79
srgb8_alpha8
,
80
r16f
,
81
rg16f
,
82
rgb16f
,
83
rgba16f
,
84
r32f
,
85
rg32f
,
86
rgb32f
,
87
rgba32f
,
88
r11f_g11f_b10f
,
89
rgb9_e5
,
90
r8i
,
91
r8ui
,
92
r16i
,
93
r16ui
,
94
r32i
,
95
r32ui
,
96
rg8i
,
97
rg8ui
,
98
rg16i
,
99
rg16ui
,
100
rg32i
,
101
rg32ui
,
102
rgb8i
,
103
rgb8ui
,
104
rgb16i
,
105
rgb16ui
,
106
rgb32i
,
107
rgb32ui
,
108
rgba8i
,
109
rgba8ui
,
110
rgba16i
,
111
rgba16ui
,
112
rgba32i
,
113
rgba32ui
,
114
depth_component16
,
115
depth_component24
,
116
depth_component32
,
117
depth_component32f
,
118
depth24_stencil8
,
119
depth32f_stencil8
,
120
compressed_red
,
121
compressed_rg
,
122
compressed_rgb
,
123
compressed_rgba
,
124
compressed_srgb
,
125
compressed_srgb_alpha
,
126
compressed_red_rgtc1
,
127
compressed_signed_red_rgtc1
,
128
compressed_rg_rgtc2
,
129
compressed_signed_rg_rgtc2
,
130
compressed_rgb_s3tc_dxt1
,
131
compressed_rgba_s3tc_dxt1
,
132
compressed_rgba_s3tc_dxt3
,
133
compressed_rgba_s3tc_dxt5
,
134
compressed_srgb_s3tc_dxt1
,
135
compressed_srgb_alpha_s3tc_dxt1
,
136
compressed_srgb_alpha_s3tc_dxt3
,
137
compressed_srgb_alpha_s3tc_dxt5
138
};
139
141
}
clan::TextureFormat::rgb32i
clan::TextureFormat::r8ui
clan
Definition:
clanapp.h:35
clan::TextureFormat::rgb5_a1
clan::TextureFormat::rgba8_snorm
clan::TextureFormat::r16ui
clan::TextureFormat::rgb9_e5
clan::TextureFormat::rg8
clan::TextureFormat::rgb16
clan::TextureFormat::rgba12
clan::TextureFormat::rgba32i
clan::TextureFormat::bgr8
clan::TextureFormat::rgb32ui
clan::TextureFormat::r16
clan::TextureFormat::compressed_signed_red_rgtc1
clan::TextureFormat::r3_g3_b2
clan::TextureFormat::depth_component24
clan::TextureFormat::r32ui
clan::TextureFormat::compressed_rgba_s3tc_dxt1
clan::TextureFormat::rgb10_a2
clan::TextureFormat::rgba16_snorm
clan::TextureFormat::rg32ui
clan::TextureFormat::rgb32f
clan::TextureFormat::rgb4
clan::TextureFormat::compressed_rg
clan::TextureFormat::r16f
clan::TextureFormat::rgba32f
clan::TextureFormat::r32i
clan::TextureFormat::r32f
clan::TextureFormat::depth_component16
clan::TextureFormat::rg8ui
clan::TextureFormat::rg8i
clan::TextureFormat::stencil_index1
clan::TextureFormat::compressed_srgb_s3tc_dxt1
clan::TextureFormat::srgb8_alpha8
clan::TextureFormat::rg32i
clan::TextureFormat::compressed_rgba_s3tc_dxt5
clan::TextureFormat::rgba16i
clan::TextureFormat::compressed_srgb_alpha
clan::TextureFormat::rgb12
clan::TextureFormat::compressed_rgb_s3tc_dxt1
clan::TextureFormat::compressed_srgb
clan::TextureFormat::rg8_snorm
clan::TextureFormat::rgba2
clan::TextureFormat::rg16f
clan::TextureFormat::depth24_stencil8
clan::TextureFormat::compressed_red_rgtc1
clan::TextureFormat::r11f_g11f_b10f
clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt3
clan::TextureFormat::rgb16ui
clan::TextureFormat::compressed_rgba_s3tc_dxt3
clan::TextureFormat::rg16_snorm
clan::TextureFormat::rg16i
clan::TextureFormat::rgb16_snorm
clan::TextureFormat::stencil_index16
clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt1
clan::TextureFormat::srgb8
clan::TextureFormat::r16i
clan::TextureFormat::rgb5
clan::TextureFormat::stencil_index8
clan::TextureFormat::rgba8ui
clan::TextureFormat::compressed_srgb_alpha_s3tc_dxt5
clan::TextureFormat
TextureFormat
Texture format.
Definition:
texture_format.h:38
clan::TextureFormat::rgba16ui
clan::TextureFormat::rgb8_snorm
clan::TextureFormat::rg16
clan::TextureFormat::stencil_index4
clan::TextureFormat::rgb16i
clan::TextureFormat::compressed_signed_rg_rgtc2
clan::TextureFormat::rgb8
clan::TextureFormat::compressed_rgba
clan::TextureFormat::rgba8
clan::TextureFormat::bgra8
clan::TextureFormat::rgba16
clan::TextureFormat::depth32f_stencil8
clan::TextureFormat::r8i
clan::TextureFormat::rgba16f
clan::TextureFormat::rgba4
clan::TextureFormat::r8
clan::TextureFormat::rg32f
clan::TextureFormat::r8_snorm
clan::TextureFormat::rgb8i
clan::TextureFormat::rgb8ui
clan::TextureFormat::rgb10
clan::TextureFormat::depth_component32f
clan::TextureFormat::rg16ui
clan::TextureFormat::rgba8i
clan::TextureFormat::rgb16f
clan::TextureFormat::compressed_red
clan::TextureFormat::depth_component32
clan::TextureFormat::compressed_rg_rgtc2
clan::TextureFormat::r16_snorm
clan::TextureFormat::rgba32ui
clan::TextureFormat::compressed_rgb