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

Function bloom_load_shader

native/ios/src/lib.rs:1226–1229  ·  view source on GitHub ↗
(source_ptr: *const u8)

Source from the content-addressed store, hash-verified

1224
1225#[no_mangle]
1226pub extern "C" fn bloom_load_shader(source_ptr: *const u8) -> f64 {
1227 let source = str_from_header(source_ptr);
1228 engine().renderer.load_custom_shader(source) as f64
1229}
1230
1231#[no_mangle]
1232pub extern "C" fn bloom_create_mesh(vertex_ptr: *const f32, vertex_count: f64, index_ptr: *const u32, index_count: f64) -> f64 {

Callers 1

loadShaderFunction · 0.50

Calls 3

str_from_headerFunction · 0.85
load_custom_shaderMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected