Class Generation
Defined in File unicode-text.h
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]]Borrow the shaping result retained with these uploaded resources.
Keep this value alive and unmoved while using a returned view/reference.
-
inline std::span<const PageResources> pages() const noexcept
Declaration:
[[nodiscard]]Borrow immutable page resources; copy their handles for independent retention.
Keep this value alive and unmoved while using a returned view/reference.
-
inline std::span<const GlyphDraw> draws() const noexcept
Declaration:
[[nodiscard]]Borrow visible glyph placements matching the uploaded page indices.
Keep this value alive and unmoved while using a returned view/reference.
-
inline bool has_positioned_runs() const noexcept
Declaration:
[[nodiscard]]Return whether positioned-run geometry was requested.
-
inline const std::shared_ptr<CE::Rendering::Geometry::Buffer2D> &positioned_geometry() const noexcept
Declaration:
[[nodiscard]]Borrow optional retained positioned geometry; copy the handle for independent retention.
Keep this value alive and unmoved while using a returned view/reference.
-
inline const ShapedText &layout() const noexcept