Description
The LINEAR_RGBA16161616
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This format represents a linear color space image format with 16 bits per channel for red, green, blue, and alpha components. It is used for high dynamic range (HDR) imaging, providing a wide range of color and brightness levels.
Usage
Use ImageFormat.LINEAR_RGBA16161616
when you need to work with images that require high precision and a linear color space. This format is particularly useful in scenarios where accurate color representation and manipulation are critical, such as in rendering pipelines that involve complex lighting calculations or post-processing effects.
Example
// Example of using LINEAR_RGBA16161616 in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.LINEAR_RGBA16161616;
texture.LoadFromFile("path/to/your/hdr_image.hdr");