[−][src]Trait egui::app::TextureAllocator
Required methods
pub fn alloc(&mut self) -> TextureId
[src]
A.locate a new user texture.
pub fn set_srgba_premultiplied(
&mut self,
id: TextureId,
size: (usize, usize),
srgba_pixels: &[Srgba]
)
[src]
&mut self,
id: TextureId,
size: (usize, usize),
srgba_pixels: &[Srgba]
)
Set or change the pixels of a user texture.
pub fn free(&mut self, id: TextureId)
[src]
Free the given texture.