Description
The RGBA1010102
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This format represents an image with 10 bits per channel for red, green, and blue, and 2 bits for the alpha channel. It is used for high dynamic range (HDR) images, providing a greater range of color depth compared to standard 8-bit formats.
Usage
Use ImageFormat.RGBA1010102
when you need to work with images that require high color precision and HDR capabilities. This format is particularly useful in scenarios where color accuracy and detail are critical, such as in professional photo editing, visual effects, and gaming applications that support HDR rendering.
Example
// Example of using ImageFormat.RGBA1010102
public class ImageProcessor
{
public void ProcessImage()
{
ImageFormat format = ImageFormat.RGBA1010102;
// Use the format in image processing logic
// For example, loading or saving an image with this format
}
}