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]

[src]

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

[src]

Create a new mesh for a circle.

[src]

Create a new mesh for an ellipse.

[src]

Create a new mesh for series of connected lines

[src]

Create a new mesh for closed polygon

[src]

Create a new Mesh from a raw list of triangles.

Trait Implementations

impl Debug for Mesh
[src]

[src]

Formats the value using the given formatter. Read more

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]

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

[src]

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

[src]

Draws the drawable onto the rendering target. Read more

Auto Trait Implementations

impl Send for Mesh

impl Sync for Mesh