pub struct PathCommandBuffer {
pub instances: Vec<GpuCurveInstance>,
pub total_draw_calls: usize,
}Expand description
Batches vector paths into GPU draw calls and instance buffers.
Fields§
§instances: Vec<GpuCurveInstance>§total_draw_calls: usizeImplementations§
Trait Implementations§
Source§impl Debug for PathCommandBuffer
impl Debug for PathCommandBuffer
Auto Trait Implementations§
impl Forget for PathCommandBuffer
impl Freeze for PathCommandBuffer
impl Move for PathCommandBuffer
impl RefUnwindSafe for PathCommandBuffer
impl Send for PathCommandBuffer
impl Sync for PathCommandBuffer
impl Unpin for PathCommandBuffer
impl UnsafeUnpin for PathCommandBuffer
impl UnwindSafe for PathCommandBuffer
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