EPOK RUNTIME
World2D Render
world2d_render.hpp · the world2d render module
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Module
the world2d render module.
Include this module
C++ include
#include "world2d_render.hpp"Types
DepthTable---- renderer -------------------------------------------------------------------------- The 3D world's ordering table, which Depth2D entries join.Type aliasPagedRectangleA rectangle and the drawing page it samples, as one packet.Class templateRendererClass declared by the world2d-render module for the world2d render module.ClassFunctions and methods
beginStarts this frame's 2D packets: draws the SubViewport2D pictures into VRAM, then collects the screen view.Methoddraw_overChains everything else: the halves of a split screen, then the screen view's canvases over the 3D world.Methoddraw_underChains the under_3d canvases of the screen view.Methodinsert_depthInserts the screen view's Depth2D entries into the 3D ordering table, each at the bucket `bucket_of(depth2d)` returns.Function template