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