# MetalTextureRenderer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-metal/struct-metaltexturerenderer/

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

```rust
struct MetalTextureRenderer
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Metal/lib.rs#L104)

## Members

- [`from_interop`](#function-from_interop)

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

### from_interop

```rust
fn from_interop(interop: &dyn ICompositionGpuInterop, budget: FrameBudget, source: u64, client: Arc<dyn MetalTextureRender>) -> Result<Self, MediaError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Metal/lib.rs#L114)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TextureRenderer`](/docs/0.5.0/api/ferroui-media/trait-texturerenderer/)

## Availability

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