Description
The RGBA16161616F_EXPAND
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This format represents a 64-bit floating-point RGBA image format where each channel (Red, Green, Blue, and Alpha) is stored as a 16-bit floating-point value. The _EXPAND
suffix indicates that this format is used for expanded color ranges, which can be useful for high dynamic range (HDR) imaging.
Usage
Use the RGBA16161616F_EXPAND
format when you need to handle images with a wide range of color values and require high precision for each color channel. This format is particularly suitable for applications involving HDR rendering or image processing where color accuracy and range are critical.
Example
// Example of using RGBA16161616F_EXPAND in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.RGBA16161616F_EXPAND;
texture.LoadFromFile("path/to/hdr_image.hdr");