Files
raea/systems/share/Cargo.toml
shinyobjectz 8cc12db395 SG4a: the mesh share lets go of what no part holds
A part whose size changes each frame is a new shape each frame, and Shared kept a
strong handle to every one: the film held 234,945 meshes a minute in (450 MB of heap,
and their GPU buffers), nearly all for shapes no part had any more. The share now
sweeps what only it holds whenever it has doubled since the last sweep. It moves to its
own crate, raea-sys-share (runtime/scene3d re-exports it), since scene3d is at its
2,000 lines.
2026-11-22 03:47:53 -08:00

11 lines
402 B
TOML

[package]
name = "raea-sys-share"
version = "0.1.0"
edition = "2024"
license = "FSL-1.1-ALv2"
publish = false
description = "Equal parts share their assets (runtime/scene3d re-exports it): one Mesh per shape and one StandardMaterial per value, let go once no part holds them"
[dependencies]
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app", "3d_bevy_render"] }