Struct egui::Texture [−][src]
pub struct Texture {
    pub version: u64,
    pub width: usize,
    pub height: usize,
    pub pixels: Vec<u8, Global>,
}Expand description
An 8-bit texture containing font data.
Fields
version: u64e.g. a hash of the data. Use this to detect changes! If the texture changes, this too will change.
width: usizeheight: usizepixels: Vec<u8, Global>White color with the given alpha (linear space 0-255).
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl UnwindSafe for Texture
Blanket Implementations
Mutably borrows from an owned value. Read more
