pub fn add_texture(&mut self, texture_handle: Handle<Image>, texture: &Image) {
        self.rects_to_place.push_rect(
            texture_handle,
            None,
            RectToInsert::new(
                texture.texture_descriptor.size.width,
                texture.texture_descriptor.size.height,
                1,
            ),
        )
    }
/// Adds a texture to be copied to the texture atlas.
Adds a texture to be copied to the texture atlas.
Adds a texture to be copied to the texture atlas .
pub fn add_texture(&mut self, texture_handle: Handle<Image>, texture: &Image) {
        self.rects_to_place.push_rect(
            texture_handle,
            None,
            RectToInsert::new(
                texture.texture_descriptor.size.width,
                texture.texture_descriptor.size.height,
                1,
            ),
        )
    }
pub fn add_texture ( & mut self , texture_handle : Handle < Image > , texture : & Image ) { self . rects_to_place . push_rect ( texture_handle , None , RectToInsert :: new ( texture . texture_descriptor . size . width , texture . texture_descriptor . size . height , 1 , ) , ) }
Adds a texture to be copied to the texture atlas.
Adds a texture to be copied to the texture atlas .
&mut self
texture_handle
Handle<Image>
texture
&Image
&mut self
texture_handle
Handle<Image>
texture
&Image