Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
SkeletonComponent Struct Reference

Component managing the list of joints and generating the offset matrices palette. More...

#include <Skeleton.hpp>

Public Attributes

std::vector< Joint > joints
 List of joints forming the skeleton hierarchy.
std::vector< glm::mat4 > jointMatrices
 Calculated final joint offsets list uploaded to VRAM descriptors.
std::shared_ptr< VulkanBuffer > gpuBuffer
VkDescriptorSet descriptorSet = VK_NULL_HANDLE

Detailed Description

Component managing the list of joints and generating the offset matrices palette.

Member Data Documentation

◆ descriptorSet

VkDescriptorSet SkeletonComponent::descriptorSet = VK_NULL_HANDLE

◆ gpuBuffer

std::shared_ptr<VulkanBuffer> SkeletonComponent::gpuBuffer

◆ jointMatrices

std::vector<glm::mat4> SkeletonComponent::jointMatrices

Calculated final joint offsets list uploaded to VRAM descriptors.

◆ joints

std::vector<Joint> SkeletonComponent::joints

List of joints forming the skeleton hierarchy.


The documentation for this struct was generated from the following file: