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