Graphics: Add PredefinedSkeletalData
This commit is contained in:
committed by
Jérôme Leclercq
parent
987c23c3ef
commit
7ada266917
@@ -1,7 +1,9 @@
|
||||
[nzsl_version("1.0")]
|
||||
module Engine.SkeletalData;
|
||||
|
||||
const MaxJointCount: u32 = u32(200); //< FIXME: Fix integral value types
|
||||
// The minimum guaranteed UBO size by OpenGL and Vulkan is 16384, which is enough to store 256 4x4 matrices
|
||||
// We could store a bit more using mat3x4 matrices (341) but 256 bones is already a quite high limit for now
|
||||
const MaxJointCount: u32 = u32(256); //< FIXME: Fix integral value types
|
||||
|
||||
[export]
|
||||
[layout(std140)]
|
||||
|
||||
Reference in New Issue
Block a user