pub struct SharedVolume<T, const X: usize, const Y: usize, const Z: usize> { /* private fields */ }Expand description
Marker type for 3D shared memory volumes.
This is a compile-time marker for volumetric shared memory (e.g., 3D stencil tiles).
The transpiler recognizes usage and generates appropriate WGSL workgroup variables.
Accessed as volume[z][y][x] in WGSL.
Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more