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

Function bloom_load_shader

native/linux/src/lib.rs:1187–1190  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

1185
1186#[no_mangle]
1187pub extern "C" fn bloom_load_shader(source_ptr: *const u8) -> f64 {
1188 let source = str_from_header(source_ptr);
1189 engine().renderer.load_custom_shader(source) as f64
1190}
1191
1192#[no_mangle]
1193pub extern "C" fn bloom_create_mesh(vertex_ptr: *const f64, vertex_count: f64, index_ptr: *const f64, index_count: f64) -> f64 {

Callers

nothing calls this directly

Calls 3

str_from_headerFunction · 0.85
load_custom_shaderMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected