mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-16 07:58:33 +00:00
added clone so i guess you can interact with it here...
This commit is contained in:
parent
1f65184deb
commit
5a98270944
@ -503,6 +503,11 @@ impl Context {
|
||||
unsafe { &mut *(self.io_mut().fonts as *mut FontAtlas) }
|
||||
}
|
||||
|
||||
/// Attempts to clone the interior shared font atlas **if it exists**.
|
||||
pub fn clone_shared_font_atlas(&mut self) -> Option<SharedFontAtlas> {
|
||||
self.shared_font_atlas.clone()
|
||||
}
|
||||
|
||||
/// Starts a new frame. Use [`new_frame`] instead.
|
||||
///
|
||||
/// [`new_frame`]: Self::new_frame
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user