Epok Engine

EPOK RUNTIME

epok::skeletal_query_detail::valid_space

Function · 1 overload

Function

Performs `valid space` as part of rigid skeletal animation and pose evaluation.

Belongs to
epok::skeletal_query_detail
Header
skeletal.hpp
Overloads
1

Declaration

Declaration
inline bool valid_space(CoordinateSpace space)

Performs `valid space` as part of rigid skeletal animation and pose evaluation.

ParameterTypeMeaning
spaceCoordinateSpaceValue supplied for space. 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 "skeletal.hpp"

// Assume these named values have been initialized with valid data:
// CoordinateSpace space

auto result = epok::skeletal_query_detail::valid_space(space);

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/skeletal.hpp:131

Related members