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