pub struct Hardware2DFrame {
pub quads: GpuBatch,
pub paths: GpuPathBatch,
pub text: GpuSlugTextPipeline,
pub items: Vec<HardwareRenderItem>,
pub clip_masks: Vec<GpuClipMask>,
pub summary: GpuBatchSummary,
}Expand description
Complete compiled hardware 2D/3D frame ready for live wgpu swapchain or offscreen execution.
Fields§
§quads: GpuBatch§paths: GpuPathBatch§text: GpuSlugTextPipeline§items: Vec<HardwareRenderItem>§clip_masks: Vec<GpuClipMask>§summary: GpuBatchSummaryImplementations§
Source§impl Hardware2DFrame
impl Hardware2DFrame
Sourcepub fn count_draw_calls(&self) -> usize
pub fn count_draw_calls(&self) -> usize
Counts hardware draw calls including stencil clip mask passes and batched content spans.
Trait Implementations§
Source§impl Clone for Hardware2DFrame
impl Clone for Hardware2DFrame
Source§impl Debug for Hardware2DFrame
impl Debug for Hardware2DFrame
Auto Trait Implementations§
impl !Freeze for Hardware2DFrame
impl Forget for Hardware2DFrame
impl Move for Hardware2DFrame
impl RefUnwindSafe for Hardware2DFrame
impl Send for Hardware2DFrame
impl Sync for Hardware2DFrame
impl Unpin for Hardware2DFrame
impl UnsafeUnpin for Hardware2DFrame
impl UnwindSafe for Hardware2DFrame
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