Struct render_opts_t

Nested Relationships

Nested Types

Struct Documentation

struct render_opts_t

Scene renderer options.

Public Members

std::optional<progress_callback_t> progress_callback

Progress callback handlers, if any.

const preview_interface_t *previewer = nullptr

Preview interface to use, if any.

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.