# allocate_source_id

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media/function-allocate_source_id/

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

```rust
fn allocate_source_id() -> u64
```

Allocates one process-unique framework source identity. Generation and frame
sequence remain local to that source. Native clients may use this for hosts.

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

## Availability

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