Skip to main content

DrawShadow

Trait DrawShadow 

Source
pub trait DrawShadow<'a> {
    // Required method
    fn draw_shadow_model(
        &mut self,
        model: &'a Model,
        light_bind_group: &'a BindGroup,
    );
}

Required Methods§

Source

fn draw_shadow_model( &mut self, model: &'a Model, light_bind_group: &'a BindGroup, )

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, 'b> DrawShadow<'b> for RenderPass<'a>
where 'b: 'a,

Source§

fn draw_shadow_model( &mut self, model: &'a Model, light_bind_group: &'b BindGroup, )

Implementors§