Epok Engine

EPOK RUNTIME

epok::bp::api::request_scene

Function · 1 overload

Function

Requests scene as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp::api
Header
blueprint_api.hpp
Overloads
1

Declaration

Declaration
inline bool request_scene(uint32_t index)

Requests scene as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
indexuint32_tValue supplied for index. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "blueprint_api.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t index

auto result = epok::bp::api::request_scene(index);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/blueprint_api.hpp:66

Related members