Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ gc_unused
Method
gc_unused
perro_source/render_stack/perro_graphics/src/resources.rs:945–947 ·
view source on GitHub ↗
(&mut self, ttl_frames: u32)
Source
from the content-addressed store, hash-verified
943
pub(crate) fn write_decoded_texture_region(
944
&mut self,
945
id: TextureID,
946
x: u32,
947
y: u32,
948
width: u32,
949
height: u32,
950
rgba: &[u8],
Callers
10
bench_resource_gc
Function · 0.80
reserved_mesh_is_not_auto_dropped_and_keeps_runtime_data
Function · 0.80
loaded_texture_is_not_dropped_before_first_use
Function · 0.80
used_texture_drops_after_ttl_when_unreferenced
Function · 0.80
reserved_texture_is_not_auto_dropped
Function · 0.80
reserving_existing_texture_resets_zero_ref_ttl
Function · 0.80
auto_gc_texture_drains_source_maps
Function · 0.80
auto_gc_mesh_drains_source_maps
Function · 0.80
auto_gc_material_drains_source_maps
Function · 0.80
scene_resource_refs_keep_unretained_mesh_and_material_alive_until_cleared
Function · 0.80
Calls
1
gc_unused_after_frames
Method · 0.80
Tested by
9
reserved_mesh_is_not_auto_dropped_and_keeps_runtime_data
Function · 0.64
loaded_texture_is_not_dropped_before_first_use
Function · 0.64
used_texture_drops_after_ttl_when_unreferenced
Function · 0.64
reserved_texture_is_not_auto_dropped
Function · 0.64
reserving_existing_texture_resets_zero_ref_ttl
Function · 0.64
auto_gc_texture_drains_source_maps
Function · 0.64
auto_gc_mesh_drains_source_maps
Function · 0.64
auto_gc_material_drains_source_maps
Function · 0.64
scene_resource_refs_keep_unretained_mesh_and_material_alive_until_cleared
Function · 0.64