Enum dotrix_egui::TextureId [−]
pub enum TextureId {
Egui,
User(u64),
}
Expand description
What texture to use in a Mesh
mesh.
Variants
The egui font texture.
If you don’t want to use a texture, pick this and the WHITE_UV
for uv-coord.
User(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.
Tuple Fields of User
0: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextureId
impl UnwindSafe for TextureId
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more