ImageFormat BGRA1010102

book_4_sparkGenerated
code_blocksInput

Description

The BGRA1010102 field is a member of the ImageFormat enumeration in the Sandbox namespace. This format represents an image with a 10-bit per channel color depth for the blue, green, and red channels, and a 2-bit depth for the alpha channel. The channels are ordered as Blue, Green, Red, and Alpha (BGRA).

Usage

Use the BGRA1010102 format when you need high color precision with a limited alpha channel. This format is suitable for applications where color fidelity is more critical than alpha precision, such as in high dynamic range (HDR) imaging.

Example

// Example of using ImageFormat.BGRA1010102
ImageFormat format = ImageFormat.BGRA1010102;

// Check if the format is BGRA1010102
if (format == ImageFormat.BGRA1010102)
{
    // Perform operations specific to BGRA1010102 format
}