ImageFormat RGBA16161616F

book_4_sparkGenerated
code_blocksInput

Description

The RGBA16161616F field is a member of the ImageFormat enumeration in the Sandbox namespace. This format represents an image with four channels (Red, Green, Blue, and Alpha), each channel being a 16-bit floating-point value. This format is typically used for high dynamic range (HDR) images where a wide range of color values is required.

Usage

Use the RGBA16161616F format when you need to store images with high precision and a wide range of color values. This is particularly useful in applications that require HDR rendering or when working with images that need to maintain a high level of detail and color accuracy.

Example

// Example of using RGBA16161616F in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.RGBA16161616F;
texture.LoadFromFile("path/to/hdr_image.hdr");