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

Method state_hash

perro_source/render_stack/perro_graphics/src/three_d/gpu.rs:82–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 }
81 }
82
83 fn from_base(base: u32) -> Self {
84 let mut key = Self::empty();
85 key.slots[0] = base;
86 key
87 }
88
89 fn from_standard(material: &StandardMaterial3D) -> Self {
90 Self::from_standard_slots([
91 material.base_color_texture,
92 material.metallic_roughness_texture,

Callers 7

test_batchFunction · 0.80
test_batchFunction · 0.80
prepareMethod · 0.80
push_draw_batchFunction · 0.80
bounds_batchFunction · 0.80
meshlet_batchFunction · 0.80
caster_batchFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_batchFunction · 0.64
test_batchFunction · 0.64