Struct amethyst_renderer::DrawPbm[][src]

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

Draw mesh with physically based lighting V is VertexFormat

Methods

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

Create instance of DrawPbm pass

Enable transparency

Trait Implementations

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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

The data itself.

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

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