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 ImageFormat.UV88
when you need to work with textures or images that require two-component data storage, such as UV mapping coordinates. This format is efficient for storing data that does not require full color information, reducing memory usage and potentially improving performance.
Example
// Example of using ImageFormat.UV88
Texture texture = new Texture();
texture.Format = ImageFormat.UV88;
// Load or manipulate the texture as needed
// This format is suitable for UV mapping or similar data