Epok Engine

EPOK RUNTIME

epok::world2d::Projector::screen

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

A projection that maps world pixels straight to screen pixels (screen canvases).

Belongs to
epok::world2d::Projector
Header
world2d_service.hpp
Overloads
1

Declaration

static
Declaration
static Projector screen()

A projection that maps world pixels straight to screen pixels (screen canvases).

This overload takes no parameters.

Returns: Projector. Consult the linked header for its meaning.

Example sketch

C++ example
#include "world2d_service.hpp"

auto result = epok::world2d::Projector::screen();

Trade-offs and warnings

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

Declared in runtime/world2d_service.hpp:117

Related members