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
32namespace 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,
54 r16,
56 rg8,
58 rg16,
61 rgb4,
62 rgb5,
63 //rgb8, (listed earlier)
65 rgb10,
66 rgb12,
67 rgb16,
69 rgba2,
70 rgba4,
71 rgb5_a1,
72 //rgba8, (listed earlier)
75 rgba12,
76 rgba16,
78 srgb8,
80 r16f,
81 rg16f,
82 rgb16f,
83 rgba16f,
84 r32f,
85 rg32f,
86 rgb32f,
87 rgba32f,
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,
138 };
139
141}
TextureFormat
Texture format.
Definition: texture_format.h:39
Definition: clanapp.h:36