2 * Copyright(c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 /// Enumeration for Pixel formats.<br />
22 /// Pixel format, default color depth is RGBA 32 bit with alpha.
24 /// /// <since_tizen> 3 </since_tizen>
25 public enum PixelFormat
28 /// Used to represent an unsupported format.
30 /// <since_tizen> 3 </since_tizen>
33 /// color depth 8-bit, alpha.
35 /// <since_tizen> 3 </since_tizen>
38 /// color depth 8-bit, luminance
40 /// <since_tizen> 3 </since_tizen>
43 /// color depth 16-bit, luminance with 8 bit alpha
45 /// <since_tizen> 3 </since_tizen>
48 /// color depth 16 bit, 5-6-5
50 /// <since_tizen> 3 </since_tizen>
53 /// color depth 16 bit, 5-6-5
55 /// <since_tizen> 3 </since_tizen>
58 /// color depth 16 bit with alpha, 4-4-4-4
60 /// <since_tizen> 3 </since_tizen>
63 /// color depth 16 bit with alpha, 4-4-4-4
65 /// <since_tizen> 3 </since_tizen>
68 /// color depth 16 bit with alpha, 5-5-5-1
70 /// <since_tizen> 3 </since_tizen>
73 /// color depth 16 bit with alpha, 5-5-5-1
75 /// <since_tizen> 3 </since_tizen>
78 /// color depth 24 bit, 8-8-8
80 /// <since_tizen> 3 </since_tizen>
83 /// color depth 32 bit, alpha is reserved but not used, 8-8-8-8#
85 /// <since_tizen> 3 </since_tizen>
88 /// color depth 32 bit, alpha is reserved but not used, 8-8-8-8#
90 /// <since_tizen> 3 </since_tizen>
93 /// color depth 32 bit with alpha, 8-8-8-8
95 /// <since_tizen> 3 </since_tizen>
98 /// color depth 32 bit with alpha, 8-8-8-8
100 /// <since_tizen> 3 </since_tizen>
103 /// ETC2 / EAC single-channel, unsigned
105 /// <since_tizen> 3 </since_tizen>
108 /// ETC2 / EAC single-channel, signed
110 /// <since_tizen> 3 </since_tizen>
111 COMPRESSED_SIGNED_R11_EAC,
113 /// ETC2 / EAC dual-channel, unsigned
115 /// <since_tizen> 3 </since_tizen>
118 /// ETC2 / EAC dual-channel, signed
120 /// <since_tizen> 3 </since_tizen>
121 COMPRESSED_SIGNED_RG11_EAC,
125 /// <since_tizen> 3 </since_tizen>
126 COMPRESSED_RGB8_ETC2,
128 /// ETC2 / EAC RGB using sRGB colourspace.
130 /// <since_tizen> 3 </since_tizen>
131 COMPRESSED_SRGB8_ETC2,
133 /// ETC2 / EAC RGB with single bit per pixel alpha mask.
135 /// <since_tizen> 3 </since_tizen>
136 COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2,
138 /// ETC2 / EAC RGB using sRGB colourspace, with single bit per pixel alpha mask.
140 /// <since_tizen> 3 </since_tizen>
141 COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2,
143 /// ETC2 / EAC RGB plus separate alpha channel.
145 /// <since_tizen> 3 </since_tizen>
146 COMPRESSED_RGBA8_ETC2_EAC,
148 /// ETC2 / EAC RGB using sRGB colourspace, plus separate alpha channel.
150 /// <since_tizen> 3 </since_tizen>
151 COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
153 /// ETC1 RGB as defined by GLES 2 extension OES_compressed_ETC1_RGB8_texture: http://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt
155 /// <since_tizen> 3 </since_tizen>
156 COMPRESSED_RGB8_ETC1,
158 /// PowerVR 4bpp RGB format (v1) as defined by extension IMG_texture_compression_pvrtc: http://www.khronos.org/registry/gles/extensions/IMG/IMG_texture_compression_pvrtc.txt
160 /// <since_tizen> 3 </since_tizen>
161 COMPRESSED_RGB_PVRTC_4BPPV1,
163 /// ASTC Non-linear (gamma-corrected) color space with a 4x4 block-size.
165 /// <since_tizen> 3 </since_tizen>
166 COMPRESSED_RGBA_ASTC_4x4_KHR,
168 /// ASTC Non-linear (gamma-corrected) color space with a 5x4 block-size.
170 /// <since_tizen> 3 </since_tizen>
171 COMPRESSED_RGBA_ASTC_5x4_KHR,
173 /// ASTC Non-linear (gamma-corrected) color space with a 5x5 block-size.
175 /// <since_tizen> 3 </since_tizen>
176 COMPRESSED_RGBA_ASTC_5x5_KHR,
178 /// ASTC Non-linear (gamma-corrected) color space with a 6x5 block-size.
180 /// <since_tizen> 3 </since_tizen>
181 COMPRESSED_RGBA_ASTC_6x5_KHR,
183 /// ASTC Non-linear (gamma-corrected) color space with a 6x6 block-size.
185 /// <since_tizen> 3 </since_tizen>
186 COMPRESSED_RGBA_ASTC_6x6_KHR,
188 /// ASTC Non-linear (gamma-corrected) color space with a 8x5 block-size.
190 /// <since_tizen> 3 </since_tizen>
191 COMPRESSED_RGBA_ASTC_8x5_KHR,
193 /// ASTC Non-linear (gamma-corrected) color space with a 8x6 block-size.
195 /// <since_tizen> 3 </since_tizen>
196 COMPRESSED_RGBA_ASTC_8x6_KHR,
198 /// ASTC Non-linear (gamma-corrected) color space with a 8x8 block-size.
200 /// <since_tizen> 3 </since_tizen>
201 COMPRESSED_RGBA_ASTC_8x8_KHR,
203 /// ASTC Non-linear (gamma-corrected) color space with a 10x5 block-size.
205 /// <since_tizen> 3 </since_tizen>
206 COMPRESSED_RGBA_ASTC_10x5_KHR,
208 /// ASTC Non-linear (gamma-corrected) color space with a 10x6 block-size.
210 /// <since_tizen> 3 </since_tizen>
211 COMPRESSED_RGBA_ASTC_10x6_KHR,
213 /// ASTC Non-linear (gamma-corrected) color space with a 10x8 block-size.
215 /// <since_tizen> 3 </since_tizen>
216 COMPRESSED_RGBA_ASTC_10x8_KHR,
218 /// ASTC Non-linear (gamma-corrected) color space with a 10x10 block-size.
220 /// <since_tizen> 3 </since_tizen>
221 COMPRESSED_RGBA_ASTC_10x10_KHR,
223 /// ASTC Non-linear (gamma-corrected) color space with a 12x10 block-size.
225 /// <since_tizen> 3 </since_tizen>
226 COMPRESSED_RGBA_ASTC_12x10_KHR,
228 /// ASTC Non-linear (gamma-corrected) color space with a 12x12 block-size.
230 /// <since_tizen> 3 </since_tizen>
231 COMPRESSED_RGBA_ASTC_12x12_KHR,
233 /// ASTC Non-linear (gamma-corrected) color space with a 4x4 block-size.
235 /// <since_tizen> 3 </since_tizen>
236 COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR,
238 /// ASTC Non-linear (gamma-corrected) color space with a 5x4 block-size.
240 /// <since_tizen> 3 </since_tizen>
241 COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR,
243 /// ASTC Non-linear (gamma-corrected) color space with a 5x5 block-size.
245 /// <since_tizen> 3 </since_tizen>
246 COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR,
248 /// ASTC Non-linear (gamma-corrected) color space with a 6x5 block-size.
250 /// <since_tizen> 3 </since_tizen>
251 COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR,
253 /// ASTC Non-linear (gamma-corrected) color space with a 6x6 block-size.
255 /// <since_tizen> 3 </since_tizen>
256 COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR,
258 /// ASTC Non-linear (gamma-corrected) color space with a 8x5 block-size.
260 /// <since_tizen> 3 </since_tizen>
261 COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR,
263 /// ASTC Non-linear (gamma-corrected) color space with a 8x6 block-size.
265 /// <since_tizen> 3 </since_tizen>
266 COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR,
268 /// ASTC Non-linear (gamma-corrected) color space with a 8x8 block-size.
270 /// <since_tizen> 3 </since_tizen>
271 COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR,
273 /// ASTC Non-linear (gamma-corrected) color space with a 10x5 block-size.
275 /// <since_tizen> 3 </since_tizen>
276 COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR,
278 /// ASTC Non-linear (gamma-corrected) color space with a 10x6 block-size.
280 /// <since_tizen> 3 </since_tizen>
281 COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR,
283 /// ASTC Non-linear (gamma-corrected) color space with a 10x8 block-size.
285 /// <since_tizen> 3 </since_tizen>
286 COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR,
288 /// ASTC Non-linear (gamma-corrected) color space with a 10x10 block-size.
290 /// <since_tizen> 3 </since_tizen>
291 COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR,
293 /// ASTC Non-linear (gamma-corrected) color space with a 12x10 block-size.
295 /// <since_tizen> 3 </since_tizen>
296 COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR,
298 /// ASTC Non-linear (gamma-corrected) color space with a 12x12 block-size.
300 /// <since_tizen> 3 </since_tizen>
301 COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR