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