Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
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
bool enableAnimationHints = true
bool enableComplexityBucketHints = true

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

◆ enableComplexityBucketHints

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

◆ enableInteractionHints

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

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