Epok Engine

EPOK RUNTIME

epok::nav::World::rebuild

Method · 1 overload

Method

Replace the current topology (procedural levels/streaming).

Belongs to
epok::nav::World
Header
navigation.hpp
Overloads
1

Declaration

Declaration
bool rebuild(Graph value)

Replace the current topology (procedural levels/streaming).

ParameterTypeMeaning
valueGraphValue supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "navigation.hpp"

// Assume these named values have been initialized with valid data:
// Graph value

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

auto result = object.rebuild(value);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/navigation.hpp:43

Related members