MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / mark_dirty

Function mark_dirty

native/watchos/src/scene.rs:211–216  ·  view source on GitHub ↗
(handle: u32, bits: u32, f: F)

Source from the content-addressed store, hash-verified

209}
210
211fn mark_dirty<F: FnOnce(&mut Node)>(handle: u32, bits: u32, f: F) {
212 mutate(handle, |n| {
213 f(n);
214 n.dirty_flags |= bits;
215 });
216}
217
218pub fn set_visible(handle: u32, v: bool) {
219 mark_dirty(handle, DIRTY_VISIBILITY, |n| n.visible = v);

Callers 11

set_visibleFunction · 0.85
set_parentFunction · 0.85
set_transformFunction · 0.85
set_colorFunction · 0.85
set_pbrFunction · 0.85
set_textureFunction · 0.85
set_pbr_texturesFunction · 0.85
set_skinFunction · 0.85
set_anim_tracksFunction · 0.85
set_geometryFunction · 0.85
update_geometry_f64Function · 0.85

Calls 1

mutateFunction · 0.85

Tested by

no test coverage detected