/// Binds a sampler for use with the proceeding draw calls.
Binds a sampler for use with the proceeding draw calls.
Binds a sampler for use with the proceeding draw calls .
pub fn bind_sampler<'a>(
        &mut self,
        cx: &Context,
        pass: &'a mut wgpu::RenderPass,
        sampler: &Sampler,
    ) {
        self.renderer.bind_sampler(cx, pass, sampler);
    }
pub fn bind_sampler < ' a > ( & mut self , cx : & Context , pass : & ' a mut wgpu :: RenderPass , sampler : & Sampler , ) { self . renderer . bind_sampler ( cx , pass , sampler ) ; }
Binds a sampler for use with the proceeding draw calls.
Binds a sampler for use with the proceeding draw calls .
&mut self
cx
&Context
pass
&'a mut wgpu::RenderPass
sampler
&Sampler