Class Generation

Class Documentation

class Generation

One complete immutable geometry/atlas generation paired with its placements.

CPU submission copies selected handles into packets; replacing this value never mutates resources retained by earlier frames. Native use follows provider lifetime.

Public Functions

inline const ShapedText &layout() const noexcept

Declaration: [[nodiscard]]

inline std::span<const PageResources> pages() const noexcept

Declaration: [[nodiscard]]

inline std::span<const GlyphDraw> draws() const noexcept

Declaration: [[nodiscard]]

inline bool has_positioned_runs() const noexcept

Declaration: [[nodiscard]]

inline const std::shared_ptr<CE::Rendering::Geometry::Buffer2D> &positioned_geometry() const noexcept

Declaration: [[nodiscard]]

inline std::span<const DrawRun> runs() const noexcept

Declaration: [[nodiscard]]