Enumeration WindowMode

The window mode of a Ruffle player.

Enumeration Members

Enumeration Members

Window

The Flash content is rendered in its own window and layering is done with the browser's default behavior.

In Ruffle, this mode functions like WindowMode::Opaque and will layer the Flash content together with other HTML elements.

Opaque

The Flash content is layered together with other HTML elements, and the stage color is opaque. Content can render above or below Ruffle based on CSS rendering order.

Transparent

The Flash content is layered together with other HTML elements, and the SWF stage color is transparent. Content beneath Ruffle will be visible through transparent areas.

Direct

Request compositing with hardware acceleration when possible. This mode has no effect in Ruffle and will function like WindowMode.Opaque.

Gpu

Request a direct rendering path, bypassing browser compositing when possible. This mode has no effect in Ruffle and will function like WindowMode::Opaque.