Epok Engine

EPOK RUNTIME

epok::FrameClear::draw

Function template · 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.

Function template

Draws draw as part of the frame clear module.

Belongs to
epok::FrameClear
Header
frame_clear.hpp
Overloads
1

Declaration

template
Declaration
template<class Gpu> void draw(Gpu& gpu, psyqo::Color color)

Draws draw as part of the frame clear module.

ParameterTypeMeaning
gpuGpu &Not documented; consult the linked header.
colorpsyqo::ColorNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "frame_clear.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Gpu

// Assume these named values have been initialized with valid data:
// Gpu & gpu
// psyqo::Color color

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

object.draw<Gpu>(gpu, color);

Trade-offs and warnings

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

Declared in runtime/frame_clear.hpp:22