feat: Starting a proper attribtues description for voxel attributes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user