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 in high dynamic range (HDR) imaging.
Usage
Use ImageFormat.RGBA16161616F_EXPAND
when you need to work with images that require high precision and a wide color range, such as in HDR rendering or when performing complex image processing tasks that benefit from floating-point precision.
Example
// Example of using RGBA16161616F_EXPAND in a texture creation
Texture texture = new Texture( width: 1024, height: 1024, format: ImageFormat.RGBA16161616F_EXPAND );
// Use the texture in a material or rendering pipeline
Material material = new Material();
material.SetTexture("_MainTex", texture);