Struct ggez::graphics::Mesh [] [src]

pub struct Mesh { /* fields omitted */ }

2D polygon mesh

Methods

impl Mesh
[src]

[src]

Create a new mesh for a line of one or more connected segments.

[src]

Create a new mesh for a circle. Stroked circles are still WIP, sorry.

[src]

Create a new mesh for an ellipse. Stroked ellipses are still WIP, sorry.

[src]

Create a new mesh for a closed polygon.

[src]

Create a new Mesh from a raw list of triangles.

Currently does not support UV's or indices.

Trait Implementations

impl Debug for Mesh
[src]

[src]

Formats the value using the given formatter.

impl Clone for Mesh
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Mesh
[src]

[src]

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

[src]

This method tests for !=.

impl Drawable for Mesh
[src]

[src]

Actually draws the object to the screen. Read more

[src]

Draws the drawable onto the rendering target. Read more