pub struct ImagePipeline { /* private fields */ }Implementations§
Source§impl ImagePipeline
impl ImagePipeline
pub fn new( device: &Device, format: TextureFormat, multisample: MultisampleState, ) -> Self
pub fn create_batch(&mut self, device: &Device) -> ImageBatchBuffer
pub fn start_preparations( &mut self, _device: &Device, queue: &Queue, screen_size: PhysicalSizeI32, scale_factor: ScaleFactor, )
pub fn prepare_batch( &mut self, batch: &mut ImageBatchBuffer, primitives: &[ImagePrimitive], device: &Device, queue: &Queue, )
pub fn render_batch<'pass>( &'pass self, batch: &'pass ImageBatchBuffer, render_pass: &mut RenderPass<'pass>, )
Auto Trait Implementations§
impl !Freeze for ImagePipeline
impl !RefUnwindSafe for ImagePipeline
impl Send for ImagePipeline
impl Sync for ImagePipeline
impl Unpin for ImagePipeline
impl !UnwindSafe for ImagePipeline
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