MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ProcessingToken

Enumerator
SAMPLE_ACCURATE 

Coroutine is sample-accurate.

FRAME_ACCURATE 

Coroutine is frame-accurate.

EVENT_DRIVEN 

Event-driven execution - process when events arrive.

Unlike FRAME_ACCURATE (which waits for vsync) or SAMPLE_ACCURATE (which waits for audio callback), EVENT_DRIVEN coroutines resume whenever their associated events fire. Used for input handling, UI interactions, or any sporadic/asynchronous processing.

MULTI_RATE 

Coroutine can handle multiple sample rates. Picks the frame-accurate processing token by default.

ON_DEMAND 

Coroutine is executed on demand, not scheduled.

CUSTOM 

Definition at line 5 of file ProcessingTokens.hpp.

5 {
6 SAMPLE_ACCURATE, ///< Coroutine is sample-accurate
7 FRAME_ACCURATE, ///< Coroutine is frame-accurate
8 /**
9 * @brief Event-driven execution - process when events arrive
10 *
11 * Unlike FRAME_ACCURATE (which waits for vsync) or SAMPLE_ACCURATE
12 * (which waits for audio callback), EVENT_DRIVEN coroutines resume
13 * whenever their associated events fire. Used for input handling,
14 * UI interactions, or any sporadic/asynchronous processing.
15 */
17 MULTI_RATE, ///< Coroutine can handle multiple sample rates. Picks the frame-accurate processing token by default
18 ON_DEMAND, ///< Coroutine is executed on demand, not scheduled
19 CUSTOM
20};
@ MULTI_RATE
Coroutine can handle multiple sample rates. Picks the frame-accurate processing token by default.
@ EVENT_DRIVEN
Event-driven execution - process when events arrive.
@ FRAME_ACCURATE
Coroutine is frame-accurate.
@ SAMPLE_ACCURATE
Coroutine is sample-accurate.
@ ON_DEMAND
Coroutine is executed on demand, not scheduled.