use super::*;
pub(crate) static NEXT_GPU_PBR_MESH_REVISION: AtomicU64 = AtomicU64::new(1);
pub(crate) static NEXT_GPU_WORLD3D_MESH_REVISION: AtomicU64 = AtomicU64::new(1);
#[cfg(not(target_arch = "wasm32"))]
pub(crate) static OPEN_WORLD_CITY_TEMPLATE: OnceLock<OpenWorldCityTemplate3D> = OnceLock::new();
thread_local! {
pub(crate) static WORLD3D_GPU_PASS_SCRATCH: RefCell<World3dGpuPassScratch> =
const { RefCell::new(World3dGpuPassScratch {
dynamic_pose_epochs: Vec::new(),
dynamic_pose_transforms: Vec::new(),
current_epoch: 0,
mesh_counts: Vec::new(),
mesh_cursors: Vec::new(),
visible_scratch: Vec::new(),
}) };
#[cfg(target_arch = "wasm32")]
pub(crate) static OPEN_WORLD_CITY_TEMPLATE_WASM: RefCell<Option<OpenWorldCityTemplate3D>> =
const { RefCell::new(None) };
}