Dali 3D User Interface Engine
Enumerations | Functions | Variables
Dali::Pixel Namespace Reference

Pixel format types and their properties. More...

Enumerations

enum  Format {
  INVALID = 0, A8 = 1, L8, LA88,
  RGB565, BGR565, RGBA4444, BGRA4444,
  RGBA5551, BGRA5551, RGB888, RGB8888,
  BGR8888, RGBA8888, BGRA8888, COMPRESSED_R11_EAC,
  COMPRESSED_SIGNED_R11_EAC, COMPRESSED_RG11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_RGB8_ETC2,
  COMPRESSED_SRGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_RGBA8_ETC2_EAC,
  COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, COMPRESSED_RGB8_ETC1, COMPRESSED_RGB_PVRTC_4BPPV1, COMPRESSED_RGBA_ASTC_4x4_KHR,
  COMPRESSED_RGBA_ASTC_5x4_KHR, COMPRESSED_RGBA_ASTC_5x5_KHR, COMPRESSED_RGBA_ASTC_6x5_KHR, COMPRESSED_RGBA_ASTC_6x6_KHR,
  COMPRESSED_RGBA_ASTC_8x5_KHR, COMPRESSED_RGBA_ASTC_8x6_KHR, COMPRESSED_RGBA_ASTC_8x8_KHR, COMPRESSED_RGBA_ASTC_10x5_KHR,
  COMPRESSED_RGBA_ASTC_10x6_KHR, COMPRESSED_RGBA_ASTC_10x8_KHR, COMPRESSED_RGBA_ASTC_10x10_KHR, COMPRESSED_RGBA_ASTC_12x10_KHR,
  COMPRESSED_RGBA_ASTC_12x12_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR,
  COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR,
  COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR,
  COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
}
 Pixel formats. More...
 

Functions

DALI_IMPORT_API bool HasAlpha (Format pixelformat)
 Whether specified pixel format contains an alpha value. More...
 
DALI_IMPORT_API unsigned int GetBytesPerPixel (Format pixelFormat)
 Returns The number of bytes per pixel for the specified pixel format. More...
 
DALI_IMPORT_API void GetAlphaOffsetAndMask (Format pixelFormat, int &byteOffset, int &bitMask)
 Returns the offset of the byte containing the alpha value from the start of the pixel data and the bitmask of that byte to get the alpha value. More...
 

Variables

const Format FIRST_VALID_PIXEL_FORMAT = A8
 For asserting that a variable has a valid pixel format. More...
 
const Format LAST_VALID_PIXEL_FORMAT = COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
 For asserting that a variable has a valid pixel format. More...
 

Detailed Description

Pixel format types and their properties.

.0

Enumeration Type Documentation

Pixel formats.

Note
: BufferImage::Update might not work with BGR/BGRA formats!< pixel format, default color depth is RGBA 32 bit with alpha .0
Enumerator
INVALID 

Used to represent an unsupported format. .17.

A8 

color depth 8-bit, alpha .0

L8 

color depth 8-bit, luminance .0

LA88 

color depth 16-bit, luminance with 8 bit alpha .0

RGB565 

color depth 16 bit, 5-6-5 .0

BGR565 

color depth 16 bit, 5-6-5 .0

RGBA4444 

color depth 16 bit with alpha, 4-4-4-4 .0

BGRA4444 

color depth 16 bit with alpha, 4-4-4-4 .0

RGBA5551 

color depth 16 bit with alpha, 5-5-5-1 .0

BGRA5551 

color depth 16 bit with alpha, 5-5-5-1 .0

RGB888 

color depth 24 bit, 8-8-8 .0

RGB8888 

color depth 32 bit, alpha is reserved but not used, 8-8-8-8# .0

BGR8888 

color depth 32 bit, alpha is reserved but not used, 8-8-8-8# .0

RGBA8888 

color depth 32 bit with alpha, 8-8-8-8 .0

BGRA8888 

color depth 32 bit with alpha, 8-8-8-8 .0

COMPRESSED_R11_EAC 

ETC2 / EAC single-channel, unsigned .0.

COMPRESSED_SIGNED_R11_EAC 

ETC2 / EAC single-channel, signed .0.

COMPRESSED_RG11_EAC 

ETC2 / EAC dual-channel, unsigned .0.

COMPRESSED_SIGNED_RG11_EAC 

ETC2 / EAC dual-channel, signed .0.

COMPRESSED_RGB8_ETC2 

ETC2 / EAC RGB .0.

COMPRESSED_SRGB8_ETC2 

ETC2 / EAC RGB using sRGB colourspace. .0.

COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 

ETC2 / EAC RGB with single bit per pixel alpha mask. .0.

COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 

ETC2 / EAC RGB using sRGB colourspace, with single bit per pixel alpha mask. .0.

COMPRESSED_RGBA8_ETC2_EAC 

ETC2 / EAC RGB plus separate alpha channel. .0.

COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 

ETC2 / EAC RGB using sRGB colourspace, plus separate alpha channel. .0.

COMPRESSED_RGB8_ETC1 

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 .0.

COMPRESSED_RGB_PVRTC_4BPPV1 

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 .0.

COMPRESSED_RGBA_ASTC_4x4_KHR 

ASTC Linear color space with a 4x4 block-size. .17.

COMPRESSED_RGBA_ASTC_5x4_KHR 

ASTC Linear color space with a 5x4 block-size. .17.

COMPRESSED_RGBA_ASTC_5x5_KHR 

ASTC Linear color space with a 5x5 block-size. .17.

COMPRESSED_RGBA_ASTC_6x5_KHR 

ASTC Linear color space with a 6x5 block-size. .17.

COMPRESSED_RGBA_ASTC_6x6_KHR 

ASTC Linear color space with a 6x6 block-size. .17.

COMPRESSED_RGBA_ASTC_8x5_KHR 

ASTC Linear color space with a 8x5 block-size. .17.

COMPRESSED_RGBA_ASTC_8x6_KHR 

ASTC Linear color space with a 8x6 block-size. .17.

COMPRESSED_RGBA_ASTC_8x8_KHR 

ASTC Linear color space with a 8x8 block-size. .17.

COMPRESSED_RGBA_ASTC_10x5_KHR 

ASTC Linear color space with a 10x5 block-size. .17.

COMPRESSED_RGBA_ASTC_10x6_KHR 

ASTC Linear color space with a 10x6 block-size. .17.

COMPRESSED_RGBA_ASTC_10x8_KHR 

ASTC Linear color space with a 10x8 block-size. .17.

COMPRESSED_RGBA_ASTC_10x10_KHR 

ASTC Linear color space with a 10x10 block-size. .17.

COMPRESSED_RGBA_ASTC_12x10_KHR 

ASTC Linear color space with a 12x10 block-size. .17.

COMPRESSED_RGBA_ASTC_12x12_KHR 

ASTC Linear color space with a 12x12 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 

ASTC Non-linear (gamma-corrected) color space with a 4x4 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 

ASTC Non-linear (gamma-corrected) color space with a 5x4 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 

ASTC Non-linear (gamma-corrected) color space with a 5x5 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 

ASTC Non-linear (gamma-corrected) color space with a 6x5 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 

ASTC Non-linear (gamma-corrected) color space with a 6x6 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 

ASTC Non-linear (gamma-corrected) color space with a 8x5 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 

ASTC Non-linear (gamma-corrected) color space with a 8x6 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 

ASTC Non-linear (gamma-corrected) color space with a 8x8 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 

ASTC Non-linear (gamma-corrected) color space with a 10x5 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 

ASTC Non-linear (gamma-corrected) color space with a 10x6 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 

ASTC Non-linear (gamma-corrected) color space with a 10x8 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 

ASTC Non-linear (gamma-corrected) color space with a 10x10 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 

ASTC Non-linear (gamma-corrected) color space with a 12x10 block-size. .17.

COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 

ASTC Non-linear (gamma-corrected) color space with a 12x12 block-size. .17.

Definition at line 42 of file pixel.h.

Function Documentation

void Dali::Pixel::GetAlphaOffsetAndMask ( Format  pixelFormat,
int &  byteOffset,
int &  bitMask 
)

Returns the offset of the byte containing the alpha value from the start of the pixel data and the bitmask of that byte to get the alpha value.

For example, in case of RGBA4444, byteOffset value is 1 and bitMask value is 0x0f. It means the second byte contains the alpha value and the last 4 bits of the byte is the alpha value.

Bitmask is zero if the pixelFormat does not support alpha .0

Parameters
[in]pixelFormatthe pixel format
[out]byteOffsetthe byte offset of the byte containing the alpha value
[out]bitMaskthe bitmask of the byte to get the alpha value

Definition at line 183 of file pixel.cpp.

References A8, BGR565, BGR8888, BGRA4444, BGRA5551, BGRA8888, COMPRESSED_R11_EAC, COMPRESSED_RG11_EAC, COMPRESSED_RGB8_ETC1, COMPRESSED_RGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_RGB_PVRTC_4BPPV1, COMPRESSED_RGBA8_ETC2_EAC, COMPRESSED_RGBA_ASTC_10x10_KHR, COMPRESSED_RGBA_ASTC_10x5_KHR, COMPRESSED_RGBA_ASTC_10x6_KHR, COMPRESSED_RGBA_ASTC_10x8_KHR, COMPRESSED_RGBA_ASTC_12x10_KHR, COMPRESSED_RGBA_ASTC_12x12_KHR, COMPRESSED_RGBA_ASTC_4x4_KHR, COMPRESSED_RGBA_ASTC_5x4_KHR, COMPRESSED_RGBA_ASTC_5x5_KHR, COMPRESSED_RGBA_ASTC_6x5_KHR, COMPRESSED_RGBA_ASTC_6x6_KHR, COMPRESSED_RGBA_ASTC_8x5_KHR, COMPRESSED_RGBA_ASTC_8x6_KHR, COMPRESSED_RGBA_ASTC_8x8_KHR, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, COMPRESSED_SRGB8_ETC2, COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, DALI_LOG_ERROR, INVALID, L8, LA88, RGB565, RGB888, RGB8888, RGBA4444, RGBA5551, and RGBA8888.

Referenced by Dali::Internal::NinePatchImage::ParseBorders(), Dali::Internal::BitmapPackedPixel::TestForTransparency(), UtcDaliPixelGetAlphaOffsetAndMaskN(), and UtcDaliPixelGetAlphaOffsetAndMaskP().

Here is the caller graph for this function:

unsigned int Dali::Pixel::GetBytesPerPixel ( Format  pixelFormat)

Returns The number of bytes per pixel for the specified pixel format.

.0

Parameters
[in]pixelFormatThe pixel format
Returns
The number of bytes per pixel

Definition at line 100 of file pixel.cpp.

References A8, BGR565, BGR8888, BGRA4444, BGRA5551, BGRA8888, COMPRESSED_R11_EAC, COMPRESSED_RG11_EAC, COMPRESSED_RGB8_ETC1, COMPRESSED_RGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_RGB_PVRTC_4BPPV1, COMPRESSED_RGBA8_ETC2_EAC, COMPRESSED_RGBA_ASTC_10x10_KHR, COMPRESSED_RGBA_ASTC_10x5_KHR, COMPRESSED_RGBA_ASTC_10x6_KHR, COMPRESSED_RGBA_ASTC_10x8_KHR, COMPRESSED_RGBA_ASTC_12x10_KHR, COMPRESSED_RGBA_ASTC_12x12_KHR, COMPRESSED_RGBA_ASTC_4x4_KHR, COMPRESSED_RGBA_ASTC_5x4_KHR, COMPRESSED_RGBA_ASTC_5x5_KHR, COMPRESSED_RGBA_ASTC_6x5_KHR, COMPRESSED_RGBA_ASTC_6x6_KHR, COMPRESSED_RGBA_ASTC_8x5_KHR, COMPRESSED_RGBA_ASTC_8x6_KHR, COMPRESSED_RGBA_ASTC_8x8_KHR, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, COMPRESSED_SRGB8_ETC2, COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, DALI_LOG_ERROR, INVALID, L8, LA88, RGB565, RGB888, RGB8888, RGBA4444, RGBA5551, and RGBA8888.

Referenced by anonymous_namespace{utc-Dali-NinePatchImages.cpp}::AddChildRegionsToImage(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddChildRegionsToImage(), anonymous_namespace{utc-Dali-NinePatchImages.cpp}::AddStretchRegionsToImage(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddStretchRegionsToImage(), Dali::Internal::BitmapTexture::AreaUpdated(), Dali::Internal::BitmapTexture::AssignBitmap(), Dali::Internal::Atlas::ClearBackground(), CompareLoadedImageData(), anonymous_namespace{utc-Dali-NinePatchImages.cpp}::CreateBitmap(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::CreateBitmap(), anonymous_namespace{utc-Dali-ShaderEffect.cpp}::CreateBitmap(), Dali::Internal::NinePatchImage::CreateCroppedBufferImage(), Dali::Internal::BitmapTexture::CreateGlTexture(), anonymous_namespace{utc-Dali-Atlas.cpp}::CreatePixelData(), Dali::Internal::Platform::CropAndPadForFittingMode(), FillBitmap(), anonymous_namespace{utc-Dali-NinePatchImages.cpp}::InitialiseRegionsToZeroAlpha(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::InitialiseRegionsToZeroAlpha(), Dali::Internal::BitmapPackedPixel::Initialize(), Dali::TizenPlatform::LoadBitmapFromPng(), Dali::Internal::Platform::anonymous_namespace{image-operations.cpp}::MakeBitmap(), Dali::Internal::Platform::anonymous_namespace{image-operations.cpp}::MakeEmptyBitmap(), Dali::Internal::Adaptor::NativeBitmapBuffer::NativeBitmapBuffer(), Dali::Integration::NewBitmapImageData(), Dali::Internal::NinePatchImage::ParseBorders(), PerformFittingTests(), anonymous_namespace{utc-Dali-Atlas.cpp}::PrepareResourceImage(), Dali::Internal::BufferImage::SetupBuffer(), Dali::Toolkit::Internal::ImageAtlas::UploadBrokenImage(), UtcDaliBufferImageGetBufferSize(), UtcDaliBufferImageGetBufferStride(), UtcDaliPixelData01(), UtcDaliPixelData02(), UtcDaliPixelGetBytesPerPixel(), and UtcDaliPixelGetBytesPerPixelN().

Here is the caller graph for this function:

bool Dali::Pixel::HasAlpha ( Format  pixelformat)

Whether specified pixel format contains an alpha value.

.0

Parameters
[in]pixelformatpixel format
Returns
true if format has alpha, false otherwise

Definition at line 28 of file pixel.cpp.

References A8, BGR565, BGR8888, BGRA4444, BGRA5551, BGRA8888, COMPRESSED_R11_EAC, COMPRESSED_RG11_EAC, COMPRESSED_RGB8_ETC1, COMPRESSED_RGB8_ETC2, COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, COMPRESSED_RGB_PVRTC_4BPPV1, COMPRESSED_RGBA8_ETC2_EAC, COMPRESSED_RGBA_ASTC_10x10_KHR, COMPRESSED_RGBA_ASTC_10x5_KHR, COMPRESSED_RGBA_ASTC_10x6_KHR, COMPRESSED_RGBA_ASTC_10x8_KHR, COMPRESSED_RGBA_ASTC_12x10_KHR, COMPRESSED_RGBA_ASTC_12x12_KHR, COMPRESSED_RGBA_ASTC_4x4_KHR, COMPRESSED_RGBA_ASTC_5x4_KHR, COMPRESSED_RGBA_ASTC_5x5_KHR, COMPRESSED_RGBA_ASTC_6x5_KHR, COMPRESSED_RGBA_ASTC_6x6_KHR, COMPRESSED_RGBA_ASTC_8x5_KHR, COMPRESSED_RGBA_ASTC_8x6_KHR, COMPRESSED_RGBA_ASTC_8x8_KHR, COMPRESSED_SIGNED_R11_EAC, COMPRESSED_SIGNED_RG11_EAC, COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, COMPRESSED_SRGB8_ETC2, COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, INVALID, L8, LA88, RGB565, RGB888, RGB8888, RGBA4444, RGBA5551, and RGBA8888.

Referenced by Dali::Internal::Platform::ApplyAttributesToBitmap(), Dali::Internal::ResourceManager::HandleAddFrameBufferImageRequest(), Dali::Internal::ResourceManager::HandleAllocateTextureRequest(), Dali::Internal::CompressedBitmapTexture::HasAlphaChannel(), Dali::Internal::BitmapTexture::HasAlphaChannel(), Dali::Integration::Bitmap::Initialize(), Dali::Internal::TextureMetadata::New(), Dali::Internal::Adaptor::NativeBitmapBuffer::RequiresBlending(), Dali::Internal::TextureMetadata::Update(), UtcDaliPixelHasAlpha(), and UtcDaliPixelHasAlphaN().

Here is the caller graph for this function:

Variable Documentation

const Format Dali::Pixel::FIRST_VALID_PIXEL_FORMAT = A8

For asserting that a variable has a valid pixel format.

Sync it to the first value above.

Definition at line 116 of file pixel.h.

Referenced by TestPixelEnumSize().

const Format Dali::Pixel::LAST_VALID_PIXEL_FORMAT = COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR

For asserting that a variable has a valid pixel format.

Sync it to the last value above.

Definition at line 123 of file pixel.h.

Referenced by TestPixelEnumSize().

Dali Docs Home
Read more about Dali