Struct amethyst_renderer::Mesh []

pub struct Mesh { /* fields omitted */ }

Represents a polygonal mesh.

Methods

impl Mesh
[src]

Builds a new mesh from the given vertices.

Returns a list of all vertex attributes needed by this mesh.

Returns the mesh's vertex buffer and associated buffer slice.

Returns the transformation matrix of the mesh.

This four-by-four matrix applies translation, rotation, and scaling to the mesh. It is often referred to in the computer graphics industry as the "model matrix".

Trait Implementations

impl Clone for Mesh
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mesh
[src]

Formats the value using the given formatter.

impl PartialEq for Mesh
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.