Struct glium_graphics::GliumGraphics[][src]

pub struct GliumGraphics<'d, 's, S: 's> { /* fields omitted */ }

Graphics back-end.

Methods

impl<'d, 's, S: Surface> GliumGraphics<'d, 's, S>
[src]

Creates a new graphics object.

Trait Implementations

impl<'d, 's, S: Surface> Graphics for GliumGraphics<'d, 's, S>
[src]

Implemented by all graphics back-ends.

The texture type associated with the back-end. Read more

Clears background with a color.

Clears stencil buffer with a value, usually 0. Read more

Renders list of 2d triangles.

Renders list of 2d triangles.

A texture coordinate is assigned per vertex. The texture coordinates refers to the current texture.

Draws a rectangle. Read more

Draws a polygon. Read more

Draws a tweened polygon using linear interpolation. Read more

Draws image. Read more

Draws ellipse. Read more

Draws line. Read more

Draws circle arc. Read more

Draws deformed image. Read more

Auto Trait Implementations

impl<'d, 's, S> !Send for GliumGraphics<'d, 's, S>

impl<'d, 's, S> !Sync for GliumGraphics<'d, 's, S>