Description
The LE_BGRX8888
field is a member of the ImageFormat
enumeration in the Sandbox namespace. This field represents an image format where the pixel data is stored in little-endian order with the color channels arranged as Blue, Green, Red, and an unused channel (X) with 8 bits per channel. This format is commonly used for images where the alpha channel is not needed, and the data is stored in a 32-bit integer per pixel.
Usage
Use the LE_BGRX8888
format when you need to handle images that do not require an alpha channel and are stored in a little-endian byte order. This format is suitable for applications where the image data is processed or displayed without transparency.
Example
// Example of using the LE_BGRX8888 image format
// Assume we have a method to load an image with a specific format
Image image = ImageLoader.Load("path/to/image", ImageFormat.LE_BGRX8888);
// Process the image as needed
ProcessImage(image);