Struct ggez::graphics::MeshBuilder [] [src]

pub struct MeshBuilder { /* fields omitted */ }

A builder for creating Meshes.

This allows you to easily make one Mesh containing many different complex pieces of geometry. They don't have to be connected to each other, and will all be drawn at once.

Methods

impl MeshBuilder
[src]

[src]

Create a new MeshBuilder.

Important traits for &'a mut W
[src]

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

Important traits for &'a mut W
[src]

Create a new mesh for a circle.

Important traits for &'a mut W
[src]

Create a new mesh for an ellipse.

Important traits for &'a mut W
[src]

Create a new mesh for a series of connected lines.

Important traits for &'a mut W
[src]

Create a new mesh for a closed polygon

Important traits for &'a mut W
[src]

Create a new Mesh from a raw list of triangles.

Currently does not support UV's or indices.

[src]

Takes the accumulated geometry and load it into GPU memory, creating a single Mesh.

Trait Implementations

impl Debug for MeshBuilder
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for MeshBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MeshBuilder
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for MeshBuilder

impl Sync for MeshBuilder