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

pub struct Mesh { /* fields omitted */ }

2D polygon mesh.

All of its creation methods are just shortcuts for doing the same operation via a MeshBuilder.

Methods

impl Mesh
[src]

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

Create a new mesh for a circle.

Create a new mesh for an ellipse.

Create a new mesh for series of connected lines

Create a new mesh for closed polygon

Create a new Mesh from a raw list of triangles.

Trait Implementations

impl Debug for Mesh
[src]

Formats the value using the given formatter. Read more

impl Clone for Mesh
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 !=.

impl Drawable for Mesh
[src]

Actually draws the object to the screen. Read more

Sets the blend mode to be used when drawing this drawable. This overrides the general graphics::set_blend_mode(). If None is set, defers to the blend mode set by graphics::set_blend_mode(). Read more

Gets the blend mode to be used when drawing this drawable.

Draws the drawable onto the rendering target. Read more

Auto Trait Implementations

impl Send for Mesh

impl Sync for Mesh