pub fn new_sampler<'a, 'gpu>(&'gpu self, label: &'a str) -> SamplerBuilder<'a, 'gpu> {
        SamplerBuilder {
            gpu: self,
            inner: wgpu::SamplerDescriptor {
                label: Some(label),
                ..Default::default()
            },
        }
    }
// Named new_sampler so not to shadow create_sampler
Named new_sampler so not to shadow create_sampler
Named new_sampler so not to shadow create_sampler
pub fn new_sampler<'a, 'gpu>(&'gpu self, label: &'a str) -> SamplerBuilder<'a, 'gpu> {
        SamplerBuilder {
            gpu: self,
            inner: wgpu::SamplerDescriptor {
                label: Some(label),
                ..Default::default()
            },
        }
    }
pub fn new_sampler < ' a , ' gpu > ( & ' gpu self , label : & ' a str ) -> SamplerBuilder < ' a , ' gpu > { SamplerBuilder { gpu : self , inner : wgpu :: SamplerDescriptor { label : Some ( label ) , .. Default :: default ( ) } , } }
Named new_sampler so not to shadow create_sampler
Named new_sampler so not to shadow create_sampler
&'gpu self
label
&'a str
&'gpu self
label
&'a str