Epok Engine

EPOK RUNTIME

epok::MemoryCardLibrary::snapshot

Method · 1 overload

Method

Performs `snapshot` as part of the gameplay api module.

Belongs to
epok::MemoryCardLibrary
Header
gameplay_api.hpp
Overloads
1

Declaration

static
Declaration
static MemoryCardSnapshot snapshot()

Performs `snapshot` as part of the gameplay api module.

This overload takes no parameters.

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

Example

C++ example
#include "gameplay_api.hpp"

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

Why use it

The API exposes the hardware service without hiding latency or bounded memory.

Trade-offs and warnings

Treat device absence, busy state and I/O failure as expected outcomes; do not block the frame loop waiting for hardware.

Declared in runtime/gameplay_api.hpp:325

Related members