Struct spitfire_gui::context::GuiContext
source · pub struct GuiContext {
pub coords_map_scaling: CoordsMappingScaling,
pub texture_filtering: GlowTextureFiltering,
pub interactions: GuiInteractionsEngine,
/* private fields */
}
Fields§
§coords_map_scaling: CoordsMappingScaling
§texture_filtering: GlowTextureFiltering
§interactions: GuiInteractionsEngine
Implementations§
source§impl GuiContext
impl GuiContext
pub fn mark_dirty(&mut self)
pub fn begin_frame(&self)
pub fn end_frame( &mut self, draw: &mut DrawContext, graphics: &mut Graphics<Vertex>, colored_shader: &ShaderRef, textured_shader: &ShaderRef, text_shader: &ShaderRef )
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GuiContext
impl !Send for GuiContext
impl !Sync for GuiContext
impl Unpin for GuiContext
impl !UnwindSafe for GuiContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere
T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more