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, providing high dynamic range (HDR) capabilities. It is suitable for applications requiring precise color representation and manipulation, such as rendering and image processing tasks.
Usage
Use ImageFormat.LINEAR_RGBA16161616
when you need to work with images that require high precision and linear color space. This format is particularly useful in scenarios where color accuracy and dynamic range are critical, such as in professional graphics applications or advanced rendering pipelines.
Example
// Example of using LINEAR_RGBA16161616 in a texture creation
Texture texture = new Texture( width: 1024, height: 1024, format: ImageFormat.LINEAR_RGBA16161616 );
// Set the texture data
texture.SetData( data );
// Use the texture in a material
Material material = new Material();
material.SetTexture( "Albedo", texture );