EPOK RUNTIME
epok::world2d::Renderer
Class
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.
Class
Class declared by the world2d-render module for the world2d render module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world2d_render.hpp"
epok::world2d::Renderer& value = /* obtain a valid instance from your game */;Public 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