Enum epaint::TextureId [−][src]
pub enum TextureId {
Egui,
User(u64),
}
Expand description
What texture to use in a Mesh
mesh.
Variants
Egui
The egui font texture.
If you don’t want to use a texture, pick this and the WHITE_UV
for uv-coord.
User(u64)
Tuple Fields
0: u64
Your own texture, defined in any which way you want. egui won’t care. The backend renderer will presumably use this to look up what texture to use.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextureId
impl UnwindSafe for TextureId
Blanket Implementations
Mutably borrows from an owned value. Read more