ClanLib
2.3.7
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Sources
API
Display
Image
texture_format.h
Go to the documentation of this file.
1
/*
2
** ClanLib SDK
3
** Copyright (c) 1997-2011 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
32
33
#pragma once
34
35
#include "../api_display.h"
36
40
enum
CL_TextureFormat
41
{
42
// Standard ClanLib sized formats (most common listed first)
43
cl_rgba8
,
44
cl_rgb8
,
45
cl_bgr8
,
// (Not OpenGL)
46
cl_a1_rgb5
,
// (Not OpenGL)
47
cl_argb8
,
// (Not OpenGL)
48
cl_abgr8
,
// (Not OpenGL)
49
50
cl_color_index
,
// Paletted index (Not OpenGL)
51
52
// base internal format
53
cl_stencil_index
,
// For CL_RenderBuffer ?
54
cl_depth_component
,
55
cl_depth_stencil
,
56
cl_red
,
57
cl_green
,
58
cl_blue
,
59
cl_rg
,
60
cl_rgb
,
61
cl_rgba
,
62
cl_bgr
,
63
cl_bgra
,
64
cl_red_integer
,
65
cl_green_integer
,
66
cl_blue_integer
,
67
cl_rg_integer
,
68
cl_rgb_integer
,
69
cl_rgba_integer
,
70
cl_bgr_integer
,
71
cl_bgra_integer
,
72
73
// sized internal format
74
cl_stencil_index1
,
// For CL_RenderBuffer ?
75
cl_stencil_index4
,
// For CL_RenderBuffer ?
76
cl_stencil_index8
,
// For CL_RenderBuffer ?
77
cl_stencil_index16
,
// For CL_RenderBuffer ?
78
79
cl_r8
,
80
cl_r8_snorm
,
81
cl_r16
,
82
cl_r16_snorm
,
83
cl_rg8
,
84
cl_rg8_snorm
,
85
cl_rg16
,
86
cl_rg16_snorm
,
87
cl_r3_g3_b2
,
88
cl_rgb4
,
89
cl_rgb5
,
90
//cl_rgb8, (listed earlier)
91
cl_rgb8_snorm
,
92
cl_rgb10
,
93
cl_rgb12
,
94
cl_rgb16
,
95
cl_rgb16_snorm
,
96
cl_rgba2
,
97
cl_rgba4
,
98
cl_rgb5_a1
,
99
//cl_rgba8, (listed earlier)
100
cl_rgba8_snorm
,
101
cl_rgb10_a2
,
102
cl_rgba12
,
103
cl_rgba16
,
104
cl_rgba16_snorm
,
105
cl_srgb8
,
106
cl_srgb8_alpha8
,
107
cl_r16f
,
108
cl_rg16f
,
109
cl_rgb16f
,
110
cl_rgba16f
,
111
cl_r32f
,
112
cl_rg32f
,
113
cl_rgb32f
,
114
cl_rgba32f
,
115
cl_r11f_g11f_b10f
,
116
cl_rgb9_e5
,
117
cl_r8i
,
118
cl_r8ui
,
119
cl_r16i
,
120
cl_r16ui
,
121
cl_r32i
,
122
cl_r32ui
,
123
cl_rg8i
,
124
cl_rg8ui
,
125
cl_rg16i
,
126
cl_rg16ui
,
127
cl_rg32i
,
128
cl_rg32ui
,
129
cl_rgb8i
,
130
cl_rgb8ui
,
131
cl_rgb16i
,
132
cl_rgb16ui
,
133
cl_rgb32i
,
134
cl_rgb32ui
,
135
cl_rgba8i
,
136
cl_rgba8ui
,
137
cl_rgba16i
,
138
cl_rgba16ui
,
139
cl_rgba32i
,
140
cl_rgba32ui
,
141
cl_depth_component16
,
142
cl_depth_component24
,
143
cl_depth_component32
,
144
cl_depth_component32f
,
145
cl_depth24_stencil8
,
146
cl_depth32f_stencil8
,
147
cl_compressed_red
,
148
cl_compressed_rg
,
149
cl_compressed_rgb
,
150
cl_compressed_rgba
,
151
cl_compressed_srgb
,
152
cl_compressed_srgb_alpha
,
153
cl_compressed_red_rgtc1
,
154
cl_compressed_signed_red_rgtc1
,
155
cl_compressed_rg_rgtc2
,
156
cl_compressed_signed_rg_rgtc2
157
158
};
159
Generated on Fri Jun 14 2013 13:05:47 for ClanLib by
1.8.4