robot_2Generated
code_blocksInput

Description

The BGR888 field is a member of the ImageFormat enumeration in the Sandbox namespace. It represents an image format where each pixel is stored using 24 bits, with 8 bits for each of the blue, green, and red color channels, in that order. This format does not include an alpha channel for transparency.

Usage

Use the BGR888 format when you need to work with images that require 24-bit color depth without an alpha channel. This format is suitable for scenarios where transparency is not needed, and you want to maintain a balance between color fidelity and memory usage.

Example

// Example of using ImageFormat.BGR888
Texture texture = new Texture("path/to/image", ImageFormat.BGR888);

// Use the texture in a material
Material material = new Material();
material.SetTexture("diffuse", texture);