Class Scene
Defined in File scene.h
Class Documentation
-
class Scene
Declaration:
finalComplete immutable uploaded UI packets.
Copies retain geometry/images/materials; native use requires their original live backend domain.
Public Functions
-
inline std::span<const CE::Rendering::DrawPacket2D> draws() const
Declaration:
[[nodiscard]]Borrow the retained ordered draw packets; keep the Scene alive/unmoved or copy packets for independent retention.
-
void write(CE::Rendering::FrameWriter &frame) const
Append one UI pass at the caller’s chosen frame position, copying retained packet/resource handles.
Empty scenes add no pass. Does not upload or call native toolkit objects.
-
inline std::span<const CE::Rendering::DrawPacket2D> draws() const