Epok Engine

EPOK RUNTIME

epok::UtilityLibrary::event_queue_clear

Method · 1 overload

Method

Performs `event queue clear` as part of the utility module.

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

Declaration

static
Declaration
static GameplayEventQueue4 event_queue_clear()

Performs `event queue clear` as part of the utility module.

This overload takes no parameters.

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

Example

C++ example
#include "utility.hpp"

auto result = epok::UtilityLibrary::event_queue_clear();

Why use it

The asynchronous shape lets the frame loop continue while hardware or queued work completes.

Trade-offs and warnings

Captured data and buffers must remain valid until the callback or task has completed.

Declared in runtime/utility.hpp:185

Related members