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

Function bloom_begin_mode_2d

native/web/src/lib.rs:469–475  ·  view source on GitHub ↗
(offset_x: f64, offset_y: f64, target_x: f64, target_y: f64, rotation: f64, zoom: f64)

Source from the content-addressed store, hash-verified

467
468#[wasm_bindgen]
469pub fn bloom_begin_mode_2d(offset_x: f64, offset_y: f64, target_x: f64, target_y: f64, rotation: f64, zoom: f64) {
470 engine().renderer.begin_mode_2d(
471 offset_x as f32, offset_y as f32,
472 target_x as f32, target_y as f32,
473 rotation as f32, zoom as f32,
474 );
475}
476
477#[wasm_bindgen]
478pub fn bloom_end_mode_2d() {

Callers

nothing calls this directly

Calls 2

begin_mode_2dMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected