pub struct CpuVoxelGrid {
pub name: String,
pub voxels: Texture3D,
pub size: Vector3<f32>,
}
Expand description
Volume data consisting of voxel data inside a cube.
Fields§
§name: String
Name.
voxels: Texture3D
Voxel data, ie. small cubes in 3D (analogue to pixels in 2D) that contain 1-4 values.
size: Vector3<f32>
The size of the cube that is spanned by the voxel data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VoxelGrid
impl RefUnwindSafe for VoxelGrid
impl Send for VoxelGrid
impl Sync for VoxelGrid
impl Unpin for VoxelGrid
impl UnwindSafe for VoxelGrid
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