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

Method load

perro_source/api_modules/perro_resource_api/src/sub_apis/mesh.rs:83–85  ·  view source on GitHub ↗
(&self, source: S)

Source from the content-addressed store, hash-verified

81impl<'res, R: MeshAPI + ?Sized> MeshModule<'res, R> {
82 pub fn new(api: &'res R) -> Self {
83 Self { api }
84 }
85
86 #[inline]
87 pub fn load<S: ResPathSource>(&self, source: S) -> MeshID {
88 self.api.load_mesh(source.as_res_path_str())

Callers 13

create_editor_mesh_childFunction · 0.45
load_editor_shellFunction · 0.45
cloneMethod · 0.45
spawn_device_threadMethod · 0.45
spawn_ble_manager_threadFunction · 0.45
read_allocsFunction · 0.45
merge_prepared_sceneFunction · 0.45
load_f32Function · 0.45

Calls 2

as_res_path_strMethod · 0.80
load_meshMethod · 0.45

Tested by 1