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§
Source§impl<'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> !Freeze for Painter<'a>
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§
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