Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
Pose.h File Reference

Per-frame skeletal pose: local bone transforms + final GPU palette. More...

#include <vector>
#include <glm/mat4x4.hpp>
#include "Types.h"
+ Include dependency graph for Pose.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mnd::Pose
 Per-frame pose state for a Skeleton. More...
 

Namespaces

namespace  mnd
 

Functions

void mnd::ResetPoseToBind (const Skeleton &skeleton, Pose &pose)
 Resize pose buffers to match skeleton and reset to bind pose.
 
void mnd::EvaluatePose (const SkeletalAnimationClip &clip, const Skeleton &skeleton, f32 time, Pose &pose)
 Sample clip at time and write each animated bone's TRS into pose.localTransforms.
 
void mnd::ComputePalette (const Skeleton &skeleton, Pose &pose)
 Concatenate parent transforms and apply offsetMatrix to produce the GPU palette.
 

Detailed Description

Per-frame skeletal pose: local bone transforms + final GPU palette.

Definition in file Pose.h.