book_4_sparkGenerated
code_blocksInput

Description

The RG1616 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 RG1616 format represents an image format with two color channels, red and green, each with 16 bits of precision.

Usage

Use the ImageFormat.RG1616 when you need to work with images that require high precision for the red and green channels, typically in scenarios where color accuracy is crucial, such as in texture processing or rendering operations that involve detailed color manipulation.

Example

// Example of using ImageFormat.RG1616
Texture texture = new Texture();
texture.Format = ImageFormat.RG1616;

// Load or manipulate the texture as needed
// This format is suitable for high precision red and green channel data