pub struct SceneUpload {
pub grids: Vec<GridUpload>,
}Expand description
CPU-side aggregation of every grid in a scene. Built once at
startup; per-grid transforms are recomputed each frame and
passed to render_scene separately.
Fields§
§grids: Vec<GridUpload>Implementations§
Source§impl SceneUpload
impl SceneUpload
pub fn grid_count(&self) -> u32
Auto Trait Implementations§
impl Freeze for SceneUpload
impl RefUnwindSafe for SceneUpload
impl Send for SceneUpload
impl Sync for SceneUpload
impl Unpin for SceneUpload
impl UnsafeUnpin for SceneUpload
impl UnwindSafe for SceneUpload
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