(source_ptr: *const u8)
| 808 | |
| 809 | #[no_mangle] |
| 810 | pub 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] |
| 816 | pub extern "C" fn bloom_create_mesh(vertex_ptr: *const f32, vertex_count: f64, index_ptr: *const u32, index_count: f64) -> f64 { |
nothing calls this directly
no test coverage detected