# AngleOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-win32/struct-angleoptions/

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

```rust
struct AngleOptions
```

The options of the rendering mode that draws with OpenGL ES through
ANGLE.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.Win32/angle_options.rs#L15)

## Members

- [`gl_profiles`](#struct_field-gl_profiles)
- [`allowed_platform_apis`](#struct_field-allowed_platform_apis)
- [`open_gl_es_profiles`](#function-open_gl_es_profiles)

<a id="struct_field-gl_profiles"></a>

### gl_profiles

```rust
gl_profiles: Vec<ferroui_opengl::GlVersion>
```

The versions of OpenGL ES a context is asked for, in order.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.Win32/angle_options.rs#L17)

<a id="struct_field-allowed_platform_apis"></a>

### allowed_platform_apis

```rust
allowed_platform_apis: Option<Vec<PlatformApi>>
```

The Direct3D APIs that may be used, in order; `None` is Direct3D 11
alone.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.Win32/angle_options.rs#L21)

<a id="function-open_gl_es_profiles"></a>

### open_gl_es_profiles

```rust
fn open_gl_es_profiles(self: &Self) -> Vec<GlVersion>
```

The profiles of OpenGL ES among `gl_profiles`:
what a display of ANGLE is asked for.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.Win32/angle_options.rs#L27)

## Trait implementations

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

## Availability

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