[][src]Trait egui::app::TextureAllocator

pub trait TextureAllocator {
    fn new_texture_srgba_premultiplied(
        &mut self,
        size: (usize, usize),
        pixels: &[Srgba]
    ) -> TextureId; }

Required methods

fn new_texture_srgba_premultiplied(
    &mut self,
    size: (usize, usize),
    pixels: &[Srgba]
) -> TextureId

Allocate a user texture (EXPERIMENTAL!)

Loading content...

Implementors

Loading content...