pub unsafe fn update_texture_atlas(
        &mut self,
        texture_atlas: &impl TextureAtlas,
    ) {
        if texture_atlas.version().is_out_of_date(&self.atlas_version) {
            self.write_texture_descriptor(
                &texture_atlas.build_descriptor_image_info(),
            );
            self.atlas_version = texture_atlas.version();
        }
    }
/// Update the combined image sampler descriptor based on a texture atlas.
///
/// Unsafe:  it is up to the caller to make sure the image sampler is not
///          currently in use by the gpu. This should be safe to invoke in
///          the middle of a frame's draw call.
Update the combined image sampler descriptor based on a texture atlas.
Unsafe:  it is up to the caller to make sure the image sampler is not
currently in use by the gpu. This should be safe to invoke in
the middle of a frame's draw call.
Update the combined image sampler descriptor based on a texture atlas . Unsafe : it is up to the caller to make sure the image sampler is not currently in use by the gpu . This should be safe to invoke in the middle of a frame ' s draw call .
pub unsafe fn update_texture_atlas(
        &mut self,
        texture_atlas: &impl TextureAtlas,
    ) {
        if texture_atlas.version().is_out_of_date(&self.atlas_version) {
            self.write_texture_descriptor(
                &texture_atlas.build_descriptor_image_info(),
            );
            self.atlas_version = texture_atlas.version();
        }
    }
pub unsafe fn update_texture_atlas ( & mut self , texture_atlas : & impl TextureAtlas , ) { if texture_atlas . version ( ) . is_out_of_date ( & self . atlas_version ) { self . write_texture_descriptor ( & texture_atlas . build_descriptor_image_info ( ) , ) ; self . atlas_version = texture_atlas . version ( ) ; } }
Update the combined image sampler descriptor based on a texture atlas.
Update the combined image sampler descriptor based on a texture atlas .
&mut self
texture_atlas
&impl TextureAtlas