Epok Engine

EPOK RUNTIME

epok::native_music::View::data

Field

Field

Exposes `data` on `epok::native_music::View` for XA music streaming and playback state.

Belongs to
epok::native_music::View
Header
native_music_data.hpp

Declaration

Declaration
const uint8_t * data

Exposes `data` on `epok::native_music::View` for XA music streaming and playback state.

Type
const uint8_t *
Storage
Per instance

Example

C++ example
#include "native_music_data.hpp"

epok::native_music::View& object = /* obtain a valid instance */;
auto value = object.data;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/native_music_data.hpp:14