book_4_sparkGenerated
code_blocksInput

Description

The R16F field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents a specific image format where the image data is stored as a single 16-bit floating-point channel. This format is typically used for high dynamic range (HDR) images where precision is more important than color depth.

Usage

Use the R16F format when you need to store image data with a single channel and require the precision of a 16-bit floating-point value. This is particularly useful in scenarios involving HDR rendering or when working with depth maps.

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