Epok Engine

EPOK RUNTIME

epok::streaming_acquire

Function · 1 overload

Function

Performs `streaming acquire` as part of bounded CD or PC geometry-page streaming.

Belongs to
epok
Header
streaming.hpp
Overloads
1

Declaration

Declaration
inline const uint8_t *streaming_acquire(uint32_t page, psyqo::GPU &gpu)

Performs `streaming acquire` as part of bounded CD or PC geometry-page streaming.

ParameterTypeMeaning
pageuint32_tValue supplied for page. Keep referenced or pointed-to data valid for the complete call.
gpupsyqo::GPU &Value supplied for gpu. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "streaming.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t page
// psyqo::GPU & gpu

auto result = epok::streaming_acquire(page, gpu);

Why use it

It provides direct, allocation-conscious access to bounded CD or PC geometry-page streaming. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/streaming.hpp:191

Related members