MCPcopy Create free account
hub / github.com/PerroEngine/Perro / mesh_ref_count

Method mesh_ref_count

perro_source/render_stack/perro_graphics/src/resources.rs:168–173  ·  view source on GitHub ↗
(&self, id: MeshID)

Source from the content-addressed store, hash-verified

166 texture_gc_candidates: Vec<TextureID>,
167 material_gc_candidates: Vec<MaterialID>,
168 mesh_ref_ids: Vec<MeshID>,
169 texture_ref_ids: Vec<TextureID>,
170 material_ref_ids: Vec<MaterialID>,
171 rejected_explicit_ids: u64,
172 // Bumped on every material insert/replace/drop. Lets consumers memoize
173 // per-frame walks over material bodies (custom-shader probes).
174 material_revision: u64,
175 // Bumped whenever a texture's decoded dims or its source can change
176 // (decode store, decode drop, create, drop). Lets consumers memoize

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected