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

pub struct Mesh { /* fields omitted */ }

2D polygon mesh

Methods

impl Mesh
[src]

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

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

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

Create a new mesh for a closed polygon.

Create a new Mesh from a raw list of triangles.

Currently does not support UV's or indices.

Trait Implementations

impl Drawable for Mesh
[src]

Actually draws the object to the screen. Read more

Draws the drawable onto the rendering target. Read more