pub struct UnitQuadBuffer {
pub groups: [Vec<UnorientedUnitQuad>; 6],
}Fields§
§groups: [Vec<UnorientedUnitQuad>; 6]A group of quads for each block face. We rely on [OrientedBlockFace]
metadata to interpret them.
When using these values for materials and lighting, you can access them
using either the quad’s minimum voxel coordinates or the vertex
coordinates given by [OrientedBlockFace::quad_corners].
Implementations§
Trait Implementations§
Source§impl Default for UnitQuadBuffer
impl Default for UnitQuadBuffer
Source§fn default() -> UnitQuadBuffer
fn default() -> UnitQuadBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnitQuadBuffer
impl RefUnwindSafe for UnitQuadBuffer
impl Send for UnitQuadBuffer
impl Sync for UnitQuadBuffer
impl Unpin for UnitQuadBuffer
impl UnwindSafe for UnitQuadBuffer
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