Enum imgui::FontAtlasRefMut [−][src]
pub enum FontAtlasRefMut<'a> {
Owned(&'a mut FontAtlas),
Shared(RefMut<'a, SharedFontAtlas>),
}
Expand description
A mutably borrowed reference to a (possibly shared) font atlas
Variants
Owned(&'a mut FontAtlas)
Tuple Fields of Owned
0: &'a mut FontAtlas
Methods from Deref<Target = FontAtlas>
Builds a 1 byte per-pixel font atlas texture
Builds a 4 byte per-pixel font atlas texture
Clears output font data (glyph storage, UV coordinates)
Clears output texture data.
Can be used to save RAM once the texture has been transferred to the GPU.
Clears all the data used to build the textures and fonts