Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::compositor::ResolveOptions Struct Reference

Per-call policy for LayerResolver::resolve(). More...

#include "donner/svg/compositor/LayerResolver.h"

Public Attributes

bool enableInteractionHints = true
 Include interaction-driven hint weights.
bool enableAnimationHints = true
 Include animation-driven hint weights.
bool enableComplexityBucketHints = true
 Include geometry-complexity hint weights.
Entity exclusiveInteractionRoot = entt::null
 During an exclusive parent interaction, descendants still render inside the parent's rasterized subtree, so their own layer assignments must be withheld to avoid double paint. Their authored hints remain in the registry and resume when this is cleared.
Entity selectedInteractionDescendant = entt::null
 Optional complexity-bucket ancestors of this selected target are suspended while it owns a separate interaction tile. Mandatory, explicit, and animated ancestors remain assigned.

Detailed Description

Per-call policy for LayerResolver::resolve().

Lets the caller disable specific hint sources without mutating the registry. Disabled-source hints are still collected into the candidate list (for stats) but their contribution to the weight sum is zeroed - so an entity whose only hint is from a disabled source ends up at layer 0 (root).

Member Data Documentation

◆ enableAnimationHints

bool donner::svg::compositor::ResolveOptions::enableAnimationHints = true

Include animation-driven hint weights.

◆ enableComplexityBucketHints

bool donner::svg::compositor::ResolveOptions::enableComplexityBucketHints = true

Include geometry-complexity hint weights.

◆ enableInteractionHints

bool donner::svg::compositor::ResolveOptions::enableInteractionHints = true

Include interaction-driven hint weights.

◆ exclusiveInteractionRoot

Entity donner::svg::compositor::ResolveOptions::exclusiveInteractionRoot = entt::null

During an exclusive parent interaction, descendants still render inside the parent's rasterized subtree, so their own layer assignments must be withheld to avoid double paint. Their authored hints remain in the registry and resume when this is cleared.

Entity that exclusively owns interaction promotion, or null when no root is exclusive.

◆ selectedInteractionDescendant

Entity donner::svg::compositor::ResolveOptions::selectedInteractionDescendant = entt::null

Optional complexity-bucket ancestors of this selected target are suspended while it owns a separate interaction tile. Mandatory, explicit, and animated ancestors remain assigned.


The documentation for this struct was generated from the following file: