Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::ComputedBoneTransforms Struct Reference

Stores computed bone matrices for GPU upload. More...

#include <EcsData.h>

Collaboration diagram for Engine::Ecs::ComputedBoneTransforms:

Public Attributes

std::vector< glm::mat4 > boneMatrices
 Final skinning matrices in joint order.
uint32_t gpuBoneMatrixOffset = 0
 Offset into the renderer bone matrix buffer.

Detailed Description

Stores computed bone matrices for GPU upload.

Updated each frame by the animation system. The gpuBoneMatrixOffset is set by RenderingDataManager when allocating space in the bone matrix buffer.

Definition at line 718 of file EcsData.h.

Member Data Documentation

◆ boneMatrices

std::vector<glm::mat4> Engine::Ecs::ComputedBoneTransforms::boneMatrices

Final skinning matrices in joint order.

Definition at line 719 of file EcsData.h.

◆ gpuBoneMatrixOffset

uint32_t Engine::Ecs::ComputedBoneTransforms::gpuBoneMatrixOffset = 0

Offset into the renderer bone matrix buffer.

Definition at line 720 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Ecs/EcsData.h