Description
The RG1616F_EXPAND
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This field represents a specific image format used for storing image data. The format is characterized by using two 16-bit floating-point components for the red and green channels, with an expanded range.
Usage
Use ImageFormat.RG1616F_EXPAND
when you need to work with images that require high precision for the red and green channels, typically in scenarios where expanded dynamic range is necessary. This format is particularly useful in graphics programming where precise color representation is crucial.
Example
// Example of using RG1616F_EXPAND in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.RG1616F_EXPAND;
texture.LoadFromFile("path/to/image.file");