Struct block_mesh::GreedyQuadsBuffer
source · [−]pub struct GreedyQuadsBuffer {
pub quads: QuadBuffer,
/* private fields */
}
Expand description
Contains the output from the greedy_quads
algorithm. The quads can be used to generate a mesh. See the methods on
OrientedBlockFace
and UnorientedQuad
for details.
This buffer can be reused between multiple calls of greedy_quads
in order to avoid reallocations.
Fields
quads: QuadBuffer
Implementations
Auto Trait Implementations
impl RefUnwindSafe for GreedyQuadsBuffer
impl Send for GreedyQuadsBuffer
impl Sync for GreedyQuadsBuffer
impl Unpin for GreedyQuadsBuffer
impl UnwindSafe for GreedyQuadsBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more