swamp_wgpu_sprites

Function create_sprite_texture_and_sampler_bind_group

Source
pub fn create_sprite_texture_and_sampler_bind_group(
    device: &Device,
    bind_group_layout: &BindGroupLayout,
    texture: Texture,
    sampler: &Sampler,
    label: &str,
) -> BindGroup