Epok Engine

EPOK RUNTIME

epok::world2d::Renderer::begin

Method · 1 overload

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.

Method

Starts this frame's 2D packets: draws the SubViewport2D pictures into VRAM, then collects the screen view.

Belongs to
epok::world2d::Renderer
Header
world2d_render.hpp
Overloads
1

Declaration

Declaration
void begin(psyqo::GPU& gpu, bool with_3d)

Starts this frame's 2D packets: draws the SubViewport2D pictures into VRAM, then collects the screen view.

ParameterTypeMeaning
gpupsyqo::GPU &Not documented; consult the linked header.
with_3dboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "world2d_render.hpp"

// Assume these named values have been initialized with valid data:
// psyqo::GPU & gpu
// bool with_3d

epok::world2d::Renderer& object = /* obtain a valid instance */;

object.begin(gpu, with_3d);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/world2d_render.hpp:356

Related members