Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::GlTextureCache::PresentationResources Class Reference

Immutable resource manifest published only after complete preparation succeeds. More...

#include "donner/editor/GlTextureCache.h"

Public Member Functions

std::shared_ptr< const CapturedPresentation > capture () const
 Captured geometry and poses corresponding to the active tile set.
std::shared_ptr< const CapturedPresentation > overviewCapture () const
 Captured state represented by the retained overview, when available.
const std::vector< TileView > & tiles () const
 Owned paint-order active tile views, valid for this resource manifest's lifetime.
const std::vector< TileView > & overviewTiles () const
 Owned overview tile views, valid for this resource manifest's lifetime.
const std::vector< RasterCoverageGroup > & objectCoverage (Entity entity, bool overview) const
 Coverage cached for one object, aliasing this manifest's immutable storage.
const PresentationCoverageDiagnostics & coverage () const
 Coverage recorded by the same successful publication.

Friends

class GlTextureCache
struct FramePresentationTestAccess

Detailed Description

Immutable resource manifest published only after complete preparation succeeds.

Member Function Documentation

◆ objectCoverage()

const std::vector< RasterCoverageGroup > & donner::editor::GlTextureCache::PresentationResources::objectCoverage ( Entity entity,
bool overview ) const
nodiscard

Coverage cached for one object, aliasing this manifest's immutable storage.

Parameters
entityObject owning the raster tiles.
overviewSelect overview coverage.

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