ImageFormat RG11_EAC

book_4_sparkGenerated
code_blocksInput

Description

The RG11_EAC field is a member of the ImageFormat enumeration in the Sandbox namespace. This format is used for representing images with a specific compression scheme that utilizes two 11-bit channels. It is part of the ETC2/EAC texture compression formats, which are designed to provide efficient storage and transmission of image data while maintaining a high level of visual fidelity.

Usage

Use the ImageFormat.RG11_EAC when you need to work with images that require the ETC2/EAC compression format with two 11-bit channels. This is particularly useful in scenarios where you need to optimize for storage space and bandwidth while still maintaining a reasonable level of image quality.

Example

// Example of using ImageFormat.RG11_EAC

// Assuming you have a method to load a texture with a specific format
Texture texture = LoadTexture("path/to/texture", ImageFormat.RG11_EAC);

// Use the texture in your application
ApplyTexture(texture);