Struct egui_fltk_frontend::Painter
source · [−]pub struct Painter {
pub render_pass: RenderPass,
pub surface: Surface,
pub surface_config: SurfaceConfiguration,
}Fields
render_pass: RenderPasssurface: Surfacesurface_config: SurfaceConfigurationImplementations
sourceimpl Painter
impl Painter
sourcepub fn get_screen_descriptor(
&mut self,
device: &Device,
state: &EguiState
) -> ScreenDescriptor
pub fn get_screen_descriptor(
&mut self,
device: &Device,
state: &EguiState
) -> ScreenDescriptor
Get the calculated WGPU ScreenDescriptor.
sourcepub fn paint_with_rpass<'rpass>(
&'rpass mut self,
rpass: &mut RenderPass<'rpass>,
device: &Device,
queue: &Queue,
screen_descriptor: &ScreenDescriptor,
clipped_primitive: Vec<ClippedPrimitive>,
texture: TexturesDelta
)
pub fn paint_with_rpass<'rpass>(
&'rpass mut self,
rpass: &mut RenderPass<'rpass>,
device: &Device,
queue: &Queue,
screen_descriptor: &ScreenDescriptor,
clipped_primitive: Vec<ClippedPrimitive>,
texture: TexturesDelta
)
Paint with egui renderpass
pub fn paint_jobs(
&mut self,
device: &Device,
queue: &Queue,
state: &EguiState,
clipped_primitive: Vec<ClippedPrimitive>,
texture: TexturesDelta
)
Auto Trait Implementations
impl !RefUnwindSafe for Painter
impl Send for Painter
impl Sync for Painter
impl Unpin for Painter
impl !UnwindSafe for Painter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more