Epok Engine

EPOK RUNTIME

epok::skeletal_query_detail::valid_pose

Function · 1 overload

Function

Performs `valid pose` 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_pose(PoseKind pose)

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

ParameterTypeMeaning
posePoseKindValue supplied for pose. 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:
// PoseKind pose

auto result = epok::skeletal_query_detail::valid_pose(pose);

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:130

Related members