Description
The I16F
field is a member of the ImageFormat
enumeration in the Sandbox API. This enumeration is used to specify different image formats that can be used within the Sandbox environment. The I16F
format represents a 16-bit floating-point intensity format, which is typically used for high dynamic range (HDR) imaging where a single channel is sufficient.
Usage
Use the I16F
format when you need to store or process images with a single channel of 16-bit floating-point data. This format is particularly useful for applications that require high precision in a single channel, such as depth maps or luminance data in HDR imaging.
Example
// Example of using the I16F image format
Image image = new Image(ImageFormat.I16F);
// Set image data or perform operations with the I16F format
// ...