Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
BoneVertexData Struct Reference

Per-vertex bone influence data for skeletal mesh skinning. More...

#include <Vertex.h>

Public Attributes

glm::uvec4 jointIndices = glm::uvec4(0)
 4 bone indices (16 bytes)
glm::vec4 jointWeights = glm::vec4(0.0f)
 4 bone weights (16 bytes)

Detailed Description

Per-vertex bone influence data for skeletal mesh skinning.

Stored in a parallel buffer alongside the Vertex buffer to avoid bloating the Vertex struct (which stays 64B for static meshes). Up to 4 bone influences per vertex (standard glTF skinning).

Layout matches GLSL std430 (32 bytes, naturally aligned).

Date
2026-02-13
Author
Konstantin Passig

Definition at line 40 of file Vertex.h.

Member Data Documentation

◆ jointIndices

glm::uvec4 BoneVertexData::jointIndices = glm::uvec4(0)

4 bone indices (16 bytes)

Definition at line 41 of file Vertex.h.

◆ jointWeights

glm::vec4 BoneVertexData::jointWeights = glm::vec4(0.0f)

4 bone weights (16 bytes)

Definition at line 42 of file Vertex.h.


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