Trait smithay::backend::renderer::Texture[][src]

pub trait Texture {
    fn width(&self) -> u32;
fn height(&self) -> u32; fn size(&self) -> Size<i32, Buffer> { ... } }
Expand description

A two dimensional texture

Required methods

Width of the texture plane

Height of the texture plane

Provided methods

Size of the texture plane

Implementors