book_4_sparkGenerated
code_blocksInput

Description

The R32F field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents a single-channel 32-bit floating-point image format. This format is typically used for high precision grayscale images where each pixel is represented by a 32-bit floating-point value.

Usage

Use the R32F format when you need to store or process images with high precision grayscale data. This format is particularly useful in scenarios where the dynamic range and precision of the image data are critical, such as in scientific imaging or when performing complex image processing operations.

Example

// Example of using ImageFormat.R32F

// Assuming you have a method to create a texture with a specific format
Texture texture = new Texture(width: 256, height: 256, format: ImageFormat.R32F);

// Use the texture in your application
// For example, bind it to a shader or use it in a rendering pipeline