Enum epaint::TextureId [−][src]
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextureId
impl UnwindSafe for TextureId
Blanket Implementations
Mutably borrows from an owned value. Read more