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

Function bloom_load_shader

native/android/src/lib.rs:810–813  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

808
809#[no_mangle]
810pub extern "C" fn bloom_load_shader(source_ptr: *const u8) -> f64 {
811 let source = str_from_header(source_ptr);
812 engine().renderer.load_custom_shader(source) as f64
813}
814
815#[no_mangle]
816pub extern "C" fn bloom_create_mesh(vertex_ptr: *const f32, vertex_count: f64, index_ptr: *const u32, 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