Epok Engine

EPOK RUNTIME

epok::psx_audio::Sequence::is_native

Method · 1 overload

Method

Reports whether native as part of the sequence data module.

Belongs to
epok::psx_audio::Sequence
Header
sequence_data.hpp
Overloads
1

Declaration

const
Declaration
bool is_native()const

Reports whether native as part of the sequence data module.

This overload takes no parameters.

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

Example

C++ example
#include "sequence_data.hpp"

epok::psx_audio::Sequence& object = /* obtain a valid instance */;

auto result = object.is_native();

Why use it

The method is `const`, so it does not mutate the object through this API surface. The boolean result makes success, availability or state explicit without exceptions. The API exposes the hardware service without hiding latency or bounded memory.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations. Treat device absence, busy state and I/O failure as expected outcomes; do not block the frame loop waiting for hardware.

Declared in runtime/sequence_data.hpp:70

Related members