Description
The I16F
field is a member of the ImageFormat
enumeration in the Sandbox namespace. It represents a specific image format where each pixel is stored as a 16-bit floating-point intensity value. This format is typically used for high dynamic range (HDR) images where a greater range of intensity values is required compared to standard 8-bit formats.
Usage
Use the I16F
format when you need to store images with a high dynamic range and require precise intensity values. This format is particularly useful in scenarios where lighting and shading calculations need to be performed with high precision, such as in rendering engines or image processing applications.
Example
// Example of using ImageFormat.I16F
// Assuming you have an image processing function that requires a specific format
void ProcessImage(Image image)
{
if (image.Format == ImageFormat.I16F)
{
// Perform operations specific to 16-bit floating-point intensity images
}
}