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]

[src]

Create instance of DrawFlat pass

Trait Implementations

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

[src]

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl<V: PartialEq> PartialEq for DrawFlat<V>
[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<'a, V> PassData<'a> for DrawFlat<V> where
    V: Query<(Position, TexCoord)>, 
[src]

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

[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

[src]

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