robot_2Generated
code_blocksInput

Description

The BC7 field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents the BC7 texture compression format, which is a block-based texture compression format that provides high-quality compression for images with a wide range of color and alpha data. BC7 is particularly useful for compressing textures in real-time rendering applications, such as games, where both quality and performance are critical.

Usage

Use the ImageFormat.BC7 enumeration value when you need to specify the BC7 compression format for textures in your application. This format is suitable for scenarios where high-quality texture compression is required, and it is supported by modern graphics hardware.

Example

// Example of using ImageFormat.BC7
Texture texture = new Texture("path/to/texture.png");
texture.Format = ImageFormat.BC7;

// Load the texture with BC7 compression
texture.Load();