pub struct MeshUpload<K> {
pub tag: K,
pub revision: u64,
pub target: MeshUploadTarget,
pub data: MeshData,
}Expand description
CPU request identified by a game-owned tag and revision.
Fields§
§tag: KGame-owned identity, such as a chunk coordinate or entity ID.
revision: u64Revision compared with current game state immediately before upload.
target: MeshUploadTargetCreate or replace operation.
data: MeshDataOwned CPU geometry, optionally produced by a worker.
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for MeshUpload<K>where
K: Freeze,
impl<K> RefUnwindSafe for MeshUpload<K>where
K: RefUnwindSafe,
impl<K> Send for MeshUpload<K>where
K: Send,
impl<K> Sync for MeshUpload<K>where
K: Sync,
impl<K> Unpin for MeshUpload<K>where
K: Unpin,
impl<K> UnsafeUnpin for MeshUpload<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for MeshUpload<K>where
K: UnwindSafe,
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