Document-local detached-node collection state.
More...
#include "donner/svg/DocumentState.h"
|
|
std::vector< Entity > | detachedRoots |
| | Detached roots pending collection.
|
|
std::vector< Entity > | lastCollectedRoots |
| | Detached roots destroyed in the last pass.
|
|
std::vector< Entity > | lastRetainedByPublicHandles |
| | Roots skipped due to public handles.
|
|
std::vector< Entity > | lastRetainedBySnapshotOrObserverEpochs |
| | Roots skipped by epochs.
|
|
std::uint64_t | maxRetainedSnapshotOrObserverEpoch = 0 |
| | Max retaining epoch.
|
|
bool | isCollecting = false |
| | Reentrancy guard for collection.
|
Document-local detached-node collection state.
◆ queueDetachedRoot()
| void donner::svg::DetachedNodeState::queueDetachedRoot |
( |
Entity | detachedRoot | ) |
|
|
inline |
Queue a detached root for collection.
- Parameters
-
| detachedRoot | Root entity to queue. |
◆ removeDetachedRoot()
| void donner::svg::DetachedNodeState::removeDetachedRoot |
( |
Entity | detachedRoot | ) |
|
|
inline |
Stop tracking a detached root.
- Parameters
-
| detachedRoot | Root entity to remove. |
The documentation for this struct was generated from the following file: