Description
The BC6H
field is a member of the ImageFormat
enumeration in the Sandbox namespace. It represents a specific image format used for storing high dynamic range (HDR) images. The BC6H format is a block compression format that is designed to efficiently compress HDR images while maintaining high quality. It is particularly useful in scenarios where memory usage and performance are critical, such as in real-time rendering applications.
Usage
Use the ImageFormat.BC6H
enumeration value when you need to specify the BC6H image format for operations that involve image processing, texture loading, or rendering in the Sandbox environment. This format is suitable for HDR images and can be used in conjunction with graphics APIs that support BC6H compression.
Example
// Example of using ImageFormat.BC6H
// Assume 'texture' is an instance of a class that supports setting image formats
texture.SetImageFormat(ImageFormat.BC6H);
// This sets the texture's image format to BC6H, enabling efficient HDR image compression.