Function defer_begin

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

bool defer_begin()

Description

Defer operations until end of frame. When this operation is invoked while iterating, operations inbetween the defer_begin and defer_end operations are executed at the end of the frame.

This operation is thread safe.

Mentioned in

Source

Lines 267-269 in include/flecs/addons/cpp/world.hpp.

bool defer_begin() {
    return ecs_defer_begin(m_world);
}