Engine → Audio → components.h
source_handle
| Type | Struct |
| Namespace | conjure::audio |
| Include File Path | engine/include/conjure/audio/components.h |
| Source File Path | engine/src/audio/components.cpp |
| API ↗ | Audio |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | clipVersion | u32 | 0 | |
| public | FLAG_ | static constexpr u8 | 1u << 0 | Bit of flags recording that the source was started at least once (playOnStart consumed). |
| public | flags | u8 | 0 | |
| public | voice | voice_id | {} |
Functions
Public
started_once
started_once[[nodiscard]] constexpr bool started_once() const noexcept;True once FLAG_STARTED_ONCE is set.