Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::StyleLayerSource Struct Reference

Owning provenance snapshot for one real engine layer, including unknown typed sources. The observing handle never owns the scene. Retaining document extends only immutable metadata lifetime. More...

#include <style_source.hpp>

Public Member Functions

 ~StyleLayerSource ()=default
 Suppress implicit noexcept moves because checked MSVC string transfers can allocate.

Public Attributes

StyleLayerHandle handle
 UI-affine weak identity; stale after removal, whole replacement, or scene destruction.
StyleTier tier {StyleTier::DEFAULTS}
 Actual cascade priority of the observed layer.
std::string name {""}
 Owned engine layer identity, independent of the document source label.
std::shared_ptr< const PssDocument > document
 Owned immutable metadata, or null for a low-level/unknown source.

Detailed Description

Owning provenance snapshot for one real engine layer, including unknown typed sources. The observing handle never owns the scene. Retaining document extends only immutable metadata lifetime.


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