6#include "../collection.hpp"
7#include "../component_batch.hpp"
8#include "../components/clear_is_recursive.hpp"
9#include "../indicator_component.hpp"
10#include "../rerun_sdk_export.hpp"
11#include "../result.hpp"
88 static constexpr const char IndicatorComponentName[] =
"rerun.components.ClearIndicator";
94 RERUN_SDK_EXPORT
static const Clear FLAT;
96 RERUN_SDK_EXPORT
static const Clear RECURSIVE;
98 Clear(
bool _is_recursive =
false) :
Clear(components::ClearIsRecursive(_is_recursive)) {}
107 : is_recursive(std::move(_is_recursive)) {}
114 template <
typename T>
119 struct AsComponents<archetypes::Clear> {
121 static Result<std::vector<ComponentBatch>> serialize(
const archetypes::Clear& archetype);
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:76
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22
Archetype: Empties all the components of an entity.
Definition clear.hpp:84
Component: Configures how a clear operation should behave - recursive or not.
Definition clear_is_recursive.hpp:14
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:30