Type Definition ugli::Texture[][src]

type Texture = Texture2d<Color<f32>>;

Implementations

impl Texture[src]

pub fn gen_mipmaps(&mut self)[src]

pub fn new_with<F: FnMut(Vec2<usize>) -> Color<f32>>(
    ugli: &Rc<Ugli>,
    size: Vec2<usize>,
    f: F
) -> Self
[src]

pub fn from_image_image(ugli: &Rc<Ugli>, image: RgbaImage) -> Self[src]

pub fn from_image(ugli: &Rc<Ugli>, image: RgbaImage) -> Self[src]