Description
The R16F
field is a member of the ImageFormat
enumeration in the Sandbox namespace. It represents a 16-bit floating-point format for a single red channel. This format is typically used for high dynamic range (HDR) images where precision is more important than the range of values.
Usage
Use ImageFormat.R16F
when you need to store image data with a single channel in a 16-bit floating-point format. This is particularly useful for storing depth or luminance data with high precision.
Example
// Example of using ImageFormat.R16F
Texture texture = new Texture();
texture.Format = ImageFormat.R16F;
// Load or manipulate the texture as needed
// This format is suitable for high precision single channel data