Vulkan Schnee 0.0.1
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 (globalTransform * inverseBindMatrix)
uint32_t gpuBoneMatrixOffset = 0
 Offset in GPU 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 543 of file EcsData.h.

Member Data Documentation

◆ boneMatrices

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

Final skinning matrices (globalTransform * inverseBindMatrix)

Definition at line 544 of file EcsData.h.

◆ gpuBoneMatrixOffset

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

Offset in GPU bone matrix buffer.

Definition at line 545 of file EcsData.h.


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