Skip to main content

DrawLight

Trait DrawLight 

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

Required Methods§

Source

fn draw_light_model( &mut self, model: &'a Model, camera_bind_group: &'a BindGroup, 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> DrawLight<'b> for RenderPass<'a>
where 'b: 'a,

Source§

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

Implementors§