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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.