Epok Engine

PSYQO SDK

psyqo::timer_literals::operator""_s

Function · 2 overloads

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.

Function

Performs `operator "" s` as part of GPU setup, command submission and frame synchronization.

Belongs to
psyqo::timer_literals
Header
gpu.hh
Overloads
2

Declaration 1 of 2

Declaration
consteval uint32_t operator""_s(long double value)

Performs `operator "" s` as part of GPU setup, command submission and frame synchronization.

ParameterTypeMeaning
valuelong doubleNot documented; consult the linked header.

Returns: uint32_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "psyqo/gpu.hh"

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

auto result = psyqo::timer_literals::operator""_s(value);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/gpu.hh:67

Declaration 2 of 2

Declaration
consteval uint32_t operator""_s(unsigned long long int value)

Performs `operator "" s` as part of GPU setup, command submission and frame synchronization.

ParameterTypeMeaning
valueunsigned long longNot documented; consult the linked header.

Returns: uint32_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "psyqo/gpu.hh"

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

auto result = psyqo::timer_literals::operator""_s(value);

Trade-offs and warnings

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

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/gpu.hh:63

Related members