Struct building_blocks_mesh::height_map::HeightMapMeshBuffer[][src]

pub struct HeightMapMeshBuffer {
    pub mesh: PosNormMesh,
    // some fields omitted
}
Expand description

The output buffers used by triangulate_height_map. These buffers can be reused to avoid reallocating memory.

Fields

mesh: PosNormMesh

The surface positions and normals. The normals are not normalized, since that is done most efficiently on the GPU.

Implementations

Clears all of the buffers, but keeps the memory allocated for reuse.

Trait Implementations

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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.