Epok Engine

EPOK RUNTIME

epok::FocusLibrary::snapshot

Method · 1 overload

Method

Performs `snapshot` as part of the utility module.

Belongs to
epok::FocusLibrary
Header
utility.hpp
Overloads
1

Declaration

static
Declaration
static FocusSnapshot snapshot()

Performs `snapshot` as part of the utility module.

This overload takes no parameters.

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

Example

C++ example
#include "utility.hpp"

auto result = epok::FocusLibrary::snapshot();

Why use it

It provides direct, allocation-conscious access to the utility 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/utility.hpp:170

Related members