ImageFormat RGBA16161616F_EXPAND

book_4_sparkGenerated
code_blocksInput

Description

The RGBA16161616F_EXPAND field is a member of the ImageFormat enumeration in the Sandbox namespace. This format represents a 64-bit floating-point RGBA image format where each channel (Red, Green, Blue, and Alpha) is stored as a 16-bit floating-point value. The "EXPAND" suffix indicates that this format is used for expanded color ranges, which can be useful for high dynamic range (HDR) imaging.

Usage

Use ImageFormat.RGBA16161616F_EXPAND when you need to work with images that require high precision and a wide color range, such as in HDR rendering or when performing complex image processing tasks that benefit from the additional precision of floating-point values.

Example

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