Epok Engine

EPOK RUNTIME

epok::LightingRenderer::prepare

Method · 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.

Method

Performs `prepare` as part of the lighting module.

Belongs to
epok::LightingRenderer
Header
lighting.hpp
Overloads
1

Declaration

Declaration
void prepare(const std::array<ActorData,N>& objects,const std::array<Affine<Fixed>,N>& world,size_t object_count)

Performs `prepare` as part of the lighting module.

ParameterTypeMeaning
objectsconst std::array<ActorData, N> &Not documented; consult the linked header.
worldconst std::array<Affine<Fixed>, N> &Not documented; consult the linked header.
object_countsize_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "lighting.hpp"

// Assume these named values have been initialized with valid data:
// const std::array<ActorData, N> & objects
// const std::array<Affine<Fixed>, N> & world
// size_t object_count

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

object.prepare(objects, world, object_count);

Trade-offs and warnings

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

Declared in runtime/lighting.hpp:137

Related members