Struct amethyst_renderer::DrawShaded[][src]

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

Draw mesh with simple lighting technique V is VertexFormat

Methods

impl<V> DrawShaded<V> where
    V: Query<(Position, Normal, TexCoord)>, 
[src]

Create instance of DrawShaded pass

Enable transparency

Trait Implementations

impl<V> Default for DrawShaded<V> where
    V: Query<(Position, Normal, TexCoord)>, 
[src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<V: PartialEq> PartialEq for DrawShaded<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 DrawShaded<V> where
    V: Query<(Position, Normal, TexCoord)>, 
[src]

The data itself.

impl<V> Pass for DrawShaded<V> where
    V: Query<(Position, Normal, 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 DrawShaded<V> where
    V: Send

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