Epok Engine

EPOK RUNTIME

epok::skeletal_detail::Scratch::pose_bones

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

A nonzero generation opts immutable cooked assets into reuse.

Belongs to
epok::skeletal_detail::Scratch
Header
skeletal.hpp
Overloads
1

Declaration

Declaration
__attribute__((noinline,optimize("O3"))) size_t pose_bones(const SkeletalMesh& model,const Animator& animator,int16_t aim_bone,const int16_t* aim_stop_bones,Fixed aim_pitch,uint32_t generation=0)

A nonzero generation opts immutable cooked assets into reuse.

ParameterTypeMeaning
modelconst SkeletalMesh &Not documented; consult the linked header.
animatorconst Animator &Not documented; consult the linked header.
aim_boneint16_tNot documented; consult the linked header.
aim_stop_bonesconst int16_t *Not documented; consult the linked header.
aim_pitchFixedNot documented; consult the linked header.
generationuint32_tNot documented; consult the linked header.

Returns: size_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "skeletal.hpp"

// Assume these named values have been initialized with valid data:
// const SkeletalMesh & model
// const Animator & animator
// int16_t aim_bone
// const int16_t * aim_stop_bones
// Fixed aim_pitch
// uint32_t generation

epok::skeletal_detail::Scratch& object = /* obtain a valid instance */;

auto result = object.pose_bones(model, animator, aim_bone, aim_stop_bones, aim_pitch, generation);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/skeletal.hpp:88

Related members