/*
* Copyright(c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace Tizen.NUI
{
///
/// Enumeration for Pixel formats.
/// Pixel format, default color depth is RGBA 32 bit with alpha.
///
/// /// 3
public enum PixelFormat
{
///
/// Used to represent an unsupported format.
///
/// 3
INVALID = 0,
///
/// color depth 8-bit, alpha.
///
/// 3
A8 = 1,
///
/// color depth 8-bit, luminance
///
/// 3
L8,
///
/// color depth 16-bit, luminance with 8 bit alpha
///
/// 3
LA88,
///
/// color depth 16 bit, 5-6-5
///
/// 3
RGB565,
///
/// color depth 16 bit, 5-6-5
///
/// 3
BGR565,
///
/// color depth 16 bit with alpha, 4-4-4-4
///
/// 3
RGBA4444,
///
/// color depth 16 bit with alpha, 4-4-4-4
///
/// 3
BGRA4444,
///
/// color depth 16 bit with alpha, 5-5-5-1
///
/// 3
RGBA5551,
///
/// color depth 16 bit with alpha, 5-5-5-1
///
/// 3
BGRA5551,
///
/// color depth 24 bit, 8-8-8
///
/// 3
RGB888,
///
/// color depth 32 bit, alpha is reserved but not used, 8-8-8-8#
///
/// 3
RGB8888,
///
/// color depth 32 bit, alpha is reserved but not used, 8-8-8-8#
///
/// 3
BGR8888,
///
/// color depth 32 bit with alpha, 8-8-8-8
///
/// 3
RGBA8888,
///
/// color depth 32 bit with alpha, 8-8-8-8
///
/// 3
BGRA8888,
///
/// ETC2 / EAC single-channel, unsigned
///
/// 3
COMPRESSED_R11_EAC,
///
/// ETC2 / EAC single-channel, signed
///
/// 3
COMPRESSED_SIGNED_R11_EAC,
///
/// ETC2 / EAC dual-channel, unsigned
///
/// 3
COMPRESSED_RG11_EAC,
///
/// ETC2 / EAC dual-channel, signed
///
/// 3
COMPRESSED_SIGNED_RG11_EAC,
///
/// ETC2 / EAC RGB
///
/// 3
COMPRESSED_RGB8_ETC2,
///
/// ETC2 / EAC RGB using sRGB colourspace.
///
/// 3
COMPRESSED_SRGB8_ETC2,
///
/// ETC2 / EAC RGB with single bit per pixel alpha mask.
///
/// 3
COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2,
///
/// ETC2 / EAC RGB using sRGB colourspace, with single bit per pixel alpha mask.
///
/// 3
COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2,
///
/// ETC2 / EAC RGB plus separate alpha channel.
///
/// 3
COMPRESSED_RGBA8_ETC2_EAC,
///
/// ETC2 / EAC RGB using sRGB colourspace, plus separate alpha channel.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
///
/// 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
///
/// 3
COMPRESSED_RGB8_ETC1,
///
/// 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
///
/// 3
COMPRESSED_RGB_PVRTC_4BPPV1,
///
/// ASTC Non-linear (gamma-corrected) color space with a 4x4 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_4x4_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 5x4 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_5x4_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 5x5 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_5x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 6x5 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_6x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 6x6 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_6x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x5 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_8x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x6 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_8x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x8 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_8x8_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x5 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_10x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x6 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_10x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x8 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_10x8_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x10 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_10x10_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 12x10 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_12x10_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 12x12 block-size.
///
/// 3
COMPRESSED_RGBA_ASTC_12x12_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 4x4 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 5x4 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 5x5 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 6x5 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 6x6 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x5 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x6 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 8x8 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x5 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x6 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x8 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 10x10 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 12x10 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR,
///
/// ASTC Non-linear (gamma-corrected) color space with a 12x12 block-size.
///
/// 3
COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
}
}