TracktionEngine
Public Attributes | List of all members
tracktion::engine::Edit::LoadContext Struct Reference

A context passed to the Options struct which will get updated about load process and can be signaled to stop loading the Edit. More...

Public Attributes

std::atomic< float > progress { 0.0f }
 Progress will be updated as the Edit loads. More...
 
std::atomic< bool > completed { false }
 Set to true once the Edit has loaded. More...
 
std::atomic< bool > shouldExit { false }
 Can be set to true to cancel loading the Edit. More...
 

Detailed Description

A context passed to the Options struct which will get updated about load process and can be signaled to stop loading the Edit.

Member Data Documentation

◆ progress

std::atomic<float> tracktion::engine::Edit::LoadContext::progress { 0.0f }

Progress will be updated as the Edit loads.

◆ completed

std::atomic<bool> tracktion::engine::Edit::LoadContext::completed { false }

Set to true once the Edit has loaded.

◆ shouldExit

std::atomic<bool> tracktion::engine::Edit::LoadContext::shouldExit { false }

Can be set to true to cancel loading the Edit.


The documentation for this struct was generated from the following file: