pub struct EguiGlow {
pub egui_ctx: Context,
pub egui_winit: State,
pub painter: Painter,
shapes: Vec<ClippedShape>,
textures_delta: TexturesDelta,
}
Fields§
§egui_ctx: Context
§egui_winit: State
§painter: Painter
§shapes: Vec<ClippedShape>
§textures_delta: TexturesDelta
Implementations§
source§impl EguiGlow
impl EguiGlow
sourcepub fn new<E>(
event_loop: &EventLoopWindowTarget<E>,
gl: Arc<Context>,
shader_version: Option<ShaderVersion>
) -> Self
pub fn new<E>( event_loop: &EventLoopWindowTarget<E>, gl: Arc<Context>, shader_version: Option<ShaderVersion> ) -> Self
For automatic shader version detection set shader_version
to None
.
pub fn on_event(&mut self, event: &WindowEvent<'_>) -> EventResponse
Auto Trait Implementations§
impl !RefUnwindSafe for EguiGlow
impl Send for EguiGlow
impl !Sync for EguiGlow
impl Unpin for EguiGlow
impl !UnwindSafe for EguiGlow
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert