Struct render_opts_t::progress_callback_t

Nested Relationships

This struct is a nested type of Struct render_opts_t.

Struct Documentation

struct progress_callback_t

Callbacks that will be called with rendering progress updates.

Public Members

unique_function<void(const std::string&, const f_t) const noexcept> progress_update

Progress update callback. First argument is sensor id; second argument is progress.

unique_function<void(const std::string&, const duration_t&) const noexcept> on_complete

Rendering complete callback. First argument is sensor id; second argument is total elapsed time.

unique_function<void(const std::string&) const noexcept> on_terminate

Rendering terminated callback. First argument is sensor id.