Epok Engine

EPOK RUNTIME

epok::PaletteAnimatorComponent::configure

Method · 1 overload

Method

Performs `configure` as part of the object model module.

Belongs to
epok::PaletteAnimatorComponent
Header
object_model.hpp
Overloads
1

Declaration

Declaration
void configure(int32_t texture,uint32_t first,uint32_t last,Fixed speed,bool reverse)

Performs `configure` as part of the object model module.

ParameterTypeMeaning
textureint32_tValue supplied for texture. Keep referenced or pointed-to data valid for the complete call.
firstuint32_tValue supplied for first. Keep referenced or pointed-to data valid for the complete call.
lastuint32_tValue supplied for last. Keep referenced or pointed-to data valid for the complete call.
speedFixedValue supplied for speed. Keep referenced or pointed-to data valid for the complete call.
reverseboolValue supplied for reverse. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "object_model.hpp"

// Assume these named values have been initialized with valid data:
// int32_t texture
// uint32_t first
// uint32_t last
// Fixed speed
// bool reverse

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

object.configure(texture, first, last, speed, reverse);

Why use it

It provides direct, allocation-conscious access to the object model module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/object_model.hpp:858

Related members