# IosRenderingMode

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-ios/platform/enum-iosrenderingmode/

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

```rust
enum IosRenderingMode
```

Represents the rendering mode for platform graphics.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L10)

## Members

- [`OpenGl`](#variant-opengl)
- [`Metal`](#variant-metal)

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

### OpenGl

```rust
OpenGl = 1
```

Enables EAGL rendering for iOS and tvOS. Not supported on Mac
Catalyst.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L13)

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

### Metal

```rust
Metal
```

Enables Metal rendering for all Apple targets.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/iOS/FerroUI.iOS/platform.rs#L16)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- [`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/)
- `AutoreleaseSafe`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- `Display`
- `FromStr`
- `ErasedDestructor`
- `IntoEither`

## Availability

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