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 optimized for HDR images, providing a balance between image quality and storage efficiency.
Usage
Use the BC6H
format when you need to store HDR images efficiently. This format is particularly useful in scenarios where you need to maintain high image quality while minimizing the storage space required. It is commonly used in game development and graphics applications where HDR rendering is required.
Example
// Example of using ImageFormat.BC6H
// Assume you have an image processing function that accepts an ImageFormat
void ProcessImage(ImageFormat format)
{
// Implementation for processing the image
}
// Use the BC6H format for processing an HDR image
ProcessImage(ImageFormat.BC6H);