feat: Starting a proper attribtues description for voxel attributes

This commit is contained in:
2026-11-17 22:04:22 +01:00
parent 9b8fd9840e
commit 95a45a57d7
12 changed files with 1181 additions and 87 deletions
+6
View File
@@ -96,6 +96,12 @@ impl CacheLayout
index
}
/// The attributes of this layout, in binding order
pub fn attributes(&self) -> &[CacheAttribute]
{
&self.attributes
}
/// Produces a wgsl declaration describing this layout :
///
/// ```wgsl