pub struct RenderData { /* private fields */ }Expand description
Intermediate render state produced by Renderer::prepare and consumed by
Renderer::split_render.
Holds GPU buffers and draw-list metadata for a single frame. Can be reused
across frames by passing the previous frame’s RenderData back into
Renderer::prepare, which avoids reallocating buffers when capacity is sufficient.
Auto Trait Implementations§
impl Freeze for RenderData
impl !RefUnwindSafe for RenderData
impl Send for RenderData
impl Sync for RenderData
impl Unpin for RenderData
impl UnsafeUnpin for RenderData
impl !UnwindSafe for RenderData
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