Epok Engine

EPOK RUNTIME

epok::world2d::SpriteDraw

Struct

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.

Struct

One entry of the frame's draw list: a sprite resolved to screen corners (A top-left, B top-right, C bottom-left, D bottom-right in the sprite's own frame), its texel rectangle, colour and blend; or a whole tile layer, line, polygon or particle emitter, expanded by the renderer (`each_tile`, `each_line_quad`, `each_polygon_triangle`, `each_particle`).

Namespace
epok::world2d
Header
world2d_service.hpp
Include
#include "world2d_service.hpp"
Module
world2d-service
Source
runtime/world2d_service.hpp:1065

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_service.hpp"

epok::world2d::SpriteDraw& value = /* obtain a valid instance from your game */;

Fields and constants