Struct egui_fltk_frontend::Painter
source · [−]pub struct Painter<'a> {
pub render_pass: RenderPass<'a>,
pub surface: Surface,
pub surface_config: SurfaceConfiguration,
/* private fields */
}
Fields
render_pass: RenderPass<'a>
surface: Surface
surface_config: SurfaceConfiguration
Implementations
sourceimpl<'a> Painter<'a>
impl<'a> Painter<'a>
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,
screen_descriptor: &ScreenDescriptor,
clipped_primitive: Vec<ClippedPrimitive>,
texture: TexturesDelta
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Painter<'a>
impl<'a> Send for Painter<'a>
impl<'a> Sync for Painter<'a>
impl<'a> Unpin for Painter<'a>
impl<'a> !UnwindSafe for Painter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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