ImageFormat BGR888_BLUESCREEN

book_4_sparkGenerated
code_blocksInput

Description

The BGR888_BLUESCREEN 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 a BGR (Blue, Green, Red) order with 8 bits per channel, and it is specifically used for images that include a bluescreen effect. This format is useful in scenarios where a bluescreen is used for compositing or special effects in graphics rendering.

Usage

To use the BGR888_BLUESCREEN format, you can assign it to a variable of type ImageFormat when specifying the desired image format for rendering or processing operations that require a bluescreen effect.

Example

// Example of using BGR888_BLUESCREEN in a method
public void SetImageFormat(ImageFormat format)
{
    if (format == ImageFormat.BGR888_BLUESCREEN)
    {
        // Handle the bluescreen image format
        // This could involve setting up shaders or processing pipelines
    }
}