Epok Engine

EPOK RUNTIME

epok::OrderedDrawCursor::prepare

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

page() only returns verified, already resident data.

Belongs to
epok::OrderedDrawCursor
Header
ordered_draw.hpp
Overloads
1

Declaration

template
Declaration
template<class Page> bool prepare(const OrderedDrawData* data,uint16_t sample,Page&& page)

page() only returns verified, already resident data.

ParameterTypeMeaning
dataconst OrderedDrawData *Not documented; consult the linked header.
sampleuint16_tNot documented; consult the linked header.
pagePage &&Not documented; consult the linked header.

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

Example sketch

C++ example
#include "ordered_draw.hpp"

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

// Assume these named values have been initialized with valid data:
// const OrderedDrawData * data
// uint16_t sample
// Page && page

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

auto result = object.prepare<Page>(data, sample, page);

Trade-offs and warnings

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

Declared in runtime/ordered_draw.hpp:34

Related members