book_4_sparkGenerated
code_blocksInput

Description

The UV88 field is a member of the ImageFormat enumeration in the Sandbox namespace. This enumeration is used to specify different image formats that can be used within the s&box game engine. The UV88 format is typically used for storing texture coordinates or other two-component data in a compact form.

Usage

Use the UV88 format when you need to store two-component data, such as texture coordinates, in a compact and efficient manner. This format is particularly useful in scenarios where memory usage is a concern, and you need to optimize the storage of texture data.

Example

// Example of using ImageFormat.UV88

// Assuming you have a texture that requires UV88 format
ImageFormat format = ImageFormat.UV88;

// Use the format in a texture creation or processing function
Texture myTexture = new Texture(width, height, format);

// Further processing with the texture
// ...