Epok Engine

EPOK RUNTIME

epok::scroll_triangle

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

Split at texture wrap boundaries before converting UV to 8-bit page pixels.

Belongs to
epok
Header
effects.hpp
Overloads
1

Declaration

template
Declaration
template<class Emit>void scroll_triangle(const UvVertex* input,const int32_t* speed,uint32_t ticks,Emit emit)

Split at texture wrap boundaries before converting UV to 8-bit page pixels.

ParameterTypeMeaning
inputconst UvVertex *Not documented; consult the linked header.
speedconst int32_t *Not documented; consult the linked header.
ticksuint32_tNot documented; consult the linked header.
emitEmitNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "effects.hpp"

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

// Assume these named values have been initialized with valid data:
// const UvVertex * input
// const int32_t * speed
// uint32_t ticks
// Emit emit

epok::scroll_triangle<Emit>(input, speed, ticks, emit);

Trade-offs and warnings

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

Declared in runtime/effects.hpp:17

Related members