TracktionEngine
|
Some useful utility functions for asyncronously rendering Edits on background threads. More...
#include <tracktion_Renderer.h>
Classes | |
class | Handle |
A handle to a rendering Edit. More... | |
Static Public Member Functions | |
static std::shared_ptr< Handle > | render (Renderer::Parameters, std::function< void(tl::expected< juce::File, std::string >)> finishedCallback, std::shared_ptr< juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver > thumbnailToUpdate={}) |
Loads an Edit asyncronously on a background thread. | |
Some useful utility functions for asyncronously rendering Edits on background threads.
Just call one of the render functions with the appropriate arguments.
|
static |
Loads an Edit asyncronously on a background thread.
This returns a Handle with a LoadContext which you can use to cancel the operation or poll to get progress.