Description
The RGBA16161616_EDRAM_RGBA16161616
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This field represents a specific image format used for rendering or processing images within the s&box game engine. The format is characterized by its high color depth, using 16 bits per channel for red, green, blue, and alpha, providing a total of 64 bits per pixel. This format is particularly useful for applications requiring high precision in color representation, such as HDR rendering.
Usage
Use the RGBA16161616_EDRAM_RGBA16161616
format when you need to work with images that require high color fidelity and precision. This format is suitable for scenarios where the standard 8-bit per channel formats do not provide sufficient detail, such as in high dynamic range (HDR) imaging or when performing complex image processing tasks.
Example
// Example of using RGBA16161616_EDRAM_RGBA16161616 in a texture creation
Texture texture = new Texture();
texture.Format = ImageFormat.RGBA16161616_EDRAM_RGBA16161616;
texture.Create( width: 1024, height: 1024 );
// Use the texture in a material or rendering pipeline
Material material = new Material();
material.SetTexture( "DiffuseMap", texture );