pub struct RetainedTerrainFrame {Show 13 fields
pub camera: RetainedCameraUniforms,
pub geometry_revision: u64,
pub geo_revision: u64,
pub meshes: Vec<Arc<RetainedTileMesh>>,
pub instances: Vec<RetainedTileInstance>,
pub textures: Vec<Arc<RetainedTileTexture>>,
pub dynamic_meshes: Vec<RetainedDynamicMesh>,
pub geo_mesh_assets: Arc<Vec<Arc<RetainedMeshAsset>>>,
pub geo_instances: Arc<Vec<RetainedGeoInstance>>,
pub particle_layers: Arc<Vec<RetainedParticleLayer>>,
pub particle_textures: Arc<Vec<Arc<RetainedTileTexture>>>,
pub ocean: Option<Arc<RetainedOceanSurface>>,
pub environment: Option<Arc<RetainedEnvironmentAssets>>,
}Expand description
Snapshot of retained terrain tiles, textures, dynamic meshes, instanced geo objects, GPU-instanced 2D camera-local particle volumes, GPU ocean surface, and camera parameters.
Fields§
§camera: RetainedCameraUniforms§geometry_revision: u64§geo_revision: u64Monotonic revision of geo_mesh_assets / geo_instances, used to prevent stale background
tile worker snapshots from overwriting newer main-thread EarthWorld updates.
meshes: Vec<Arc<RetainedTileMesh>>§instances: Vec<RetainedTileInstance>§textures: Vec<Arc<RetainedTileTexture>>§dynamic_meshes: Vec<RetainedDynamicMesh>§geo_mesh_assets: Arc<Vec<Arc<RetainedMeshAsset>>>§geo_instances: Arc<Vec<RetainedGeoInstance>>§particle_layers: Arc<Vec<RetainedParticleLayer>>§particle_textures: Arc<Vec<Arc<RetainedTileTexture>>>§ocean: Option<Arc<RetainedOceanSurface>>§environment: Option<Arc<RetainedEnvironmentAssets>>Trait Implementations§
Source§impl Clone for RetainedTerrainFrame
impl Clone for RetainedTerrainFrame
Source§impl Debug for RetainedTerrainFrame
impl Debug for RetainedTerrainFrame
Source§impl Default for RetainedTerrainFrame
impl Default for RetainedTerrainFrame
Source§impl PartialEq for RetainedTerrainFrame
impl PartialEq for RetainedTerrainFrame
impl StructuralPartialEq for RetainedTerrainFrame
Auto Trait Implementations§
impl Forget for RetainedTerrainFrame
impl Freeze for RetainedTerrainFrame
impl Move for RetainedTerrainFrame
impl RefUnwindSafe for RetainedTerrainFrame
impl Send for RetainedTerrainFrame
impl Sync for RetainedTerrainFrame
impl Unpin for RetainedTerrainFrame
impl UnsafeUnpin for RetainedTerrainFrame
impl UnwindSafe for RetainedTerrainFrame
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