Struct amethyst_renderer::DrawFlat[][src]

pub struct DrawFlat<V> { /* fields omitted */ }

Draw mesh without lighting V is VertexFormat

Methods

impl<V> DrawFlat<V> where
    V: Query<(Position, TexCoord)>,
    Self: Pass
[src]

Create instance of DrawFlat pass

Enable transparency

Trait Implementations

impl<V> Default for DrawFlat<V> where
    V: Query<(Position, TexCoord)>,
    Self: Pass
[src]

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

impl<V: Clone> Clone for DrawFlat<V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Debug> Debug for DrawFlat<V>
[src]

Formats the value using the given formatter. Read more

impl<V: PartialEq> PartialEq for DrawFlat<V>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, V> PassData<'a> for DrawFlat<V> where
    V: Query<(Position, TexCoord)>, 
[src]

The data itself.

impl<V> Pass for DrawFlat<V> where
    V: Query<(Position, TexCoord)>, 
[src]

The pass is given an opportunity to compile shaders and store them in an Effect which is then passed to the pass in apply. Read more

Called whenever the renderer is ready to apply the pass. Feed commands into the encoder here. Read more

Auto Trait Implementations

impl<V> Send for DrawFlat<V> where
    V: Send

impl<V> Sync for DrawFlat<V> where
    V: Sync