pub enum LoadPhase {
BuildingMaterials {
done: usize,
total: usize,
},
UploadingTextures,
UploadingMeshes {
done: usize,
total: usize,
},
CompilingPipelines(CompileProgress),
}Expand description
One stage of a scene/asset load, in the order a phased loader runs them.
Variants§
BuildingMaterials
Lowering authored materials to renderer materials + inserting them.
UploadingTextures
Committing all staged texture images to the GPU (one batched upload).
UploadingMeshes
Uploading mesh geometry (+ skins) referencing the already-built materials.
CompilingPipelines(CompileProgress)
Driving pipeline compilation to completion (wraps the renderer’s
CompileProgress snapshot).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadPhase
impl RefUnwindSafe for LoadPhase
impl Send for LoadPhase
impl Sync for LoadPhase
impl Unpin for LoadPhase
impl UnsafeUnpin for LoadPhase
impl UnwindSafe for LoadPhase
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