ImageFormat RGBA1010102F_EDRAM

book_4_sparkGenerated
code_blocksInput

Description

The RGBA1010102F_EDRAM field is a member of the ImageFormat enumeration in the Sandbox namespace. This specific image format is used to represent images with a high dynamic range, utilizing 10 bits for each of the red, green, and blue channels, and 2 bits for the alpha channel. The "F" in the name indicates that this format uses floating-point representation, which allows for a wider range of color values and more precise color representation. The "EDRAM" suffix suggests that this format is optimized for use with embedded DRAM, which is often used in graphics processing to improve performance by reducing latency and increasing bandwidth.

Usage

Use ImageFormat.RGBA1010102F_EDRAM when you need to work with high dynamic range images that require precise color representation and are optimized for systems using embedded DRAM. This format is particularly useful in scenarios where color accuracy and performance are critical, such as in real-time rendering applications or when processing images with a wide range of brightness levels.

Example

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