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

Renderable component for GPU-skinned meshes driven by a Skeleton. More...

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

Go to the source code of this file.

Classes

class  mnd::SkinnedMeshComponent
 

Namespaces

namespace  mnd
 

Detailed Description

Renderable component for GPU-skinned meshes driven by a Skeleton.

Mirrors MeshComponent but uploads a per-frame bone palette as the uBones mat4[] uniform on its Material before submitting the draw.

The palette source is plugged in externally — typically by an AnimationComponent on an ancestor GameObject. Until a source is wired, the component renders the bind pose (identity palette).

Definition in file SkinnedMeshComponent.h.