# X11RenderingMode

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-x11/x11_platform/enum-x11renderingmode/

**enum** · [`ferroui-x11`](/docs/0.5.0/api/ferroui-x11/) · v0.5.0

```rust
enum X11RenderingMode
```

Represents the rendering mode for platform graphics.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.X11/x11_platform.rs#L634)

## Members

- [`Software`](#variant-software)
- [`Glx`](#variant-glx)
- [`Egl`](#variant-egl)
- [`Vulkan`](#variant-vulkan)

<a id="variant-software"></a>

### Software

```rust
Software = 1
```

The application is rendered into a framebuffer.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.X11/x11_platform.rs#L636)

<a id="variant-glx"></a>

### Glx

```rust
Glx = 2
```

Enables Glx rendering.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.X11/x11_platform.rs#L639)

<a id="variant-egl"></a>

### Egl

```rust
Egl = 3
```

Enables native Linux EGL rendering.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.X11/x11_platform.rs#L642)

<a id="variant-vulkan"></a>

### Vulkan

```rust
Vulkan = 4
```

Enables Vulkan rendering

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.X11/x11_platform.rs#L645)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Instrument`
- `WithSubscriber`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `x86_64-unknown-linux-gnu`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
