Description
The RGBA1010102F_EDRAM
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This specific format represents a high dynamic range (HDR) image format that uses 10 bits for each of the red, green, and blue channels, and 2 bits for the alpha channel. The "F" indicates that it is a floating-point format, and "EDRAM" suggests that it is optimized for use with embedded DRAM (EDRAM) systems, which can be beneficial for certain graphics processing tasks.
Usage
Use ImageFormat.RGBA1010102F_EDRAM
when you need to work with HDR images that require high precision and are optimized for EDRAM systems. This format is particularly useful in scenarios where color accuracy and dynamic range are critical, such as in advanced rendering techniques or when working with complex visual effects.
Example
// Example of using RGBA1010102F_EDRAM in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.RGBA1010102F_EDRAM;
texture.LoadFromFile("path/to/hdr_image.hdr");