ImageFormat BGRA1010102

robot_2Generated
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 alpha channel. This format is useful for high dynamic range (HDR) imaging, providing a greater range of color precision compared to standard 8-bit formats.

Usage

Use the BGRA1010102 format when you need to work with images that require high color precision and HDR capabilities. This format is particularly suitable for applications involving detailed color grading or visual effects that demand a wide color gamut.

Example

// Example of using ImageFormat.BGRA1010102

// Assuming you have an image processing function that accepts an ImageFormat
void ProcessImage(ImageFormat format)
{
    if (format == ImageFormat.BGRA1010102)
    {
        // Handle the image processing for BGRA1010102 format
        // This might involve specific handling for 10-bit color channels
    }
}

// Usage
ProcessImage(ImageFormat.BGRA1010102);