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

Function bloom_draw_texture_pro

native/tvos/src/lib.rs:1844–1856  ·  view source on GitHub ↗
(
    handle: f64,
    src_x: f64, src_y: f64, src_w: f64, src_h: f64,
    dst_x: f64, dst_y: f64, dst_w: f64, dst_h: f64,
    origin_x: f64, origin_y: f64, rotation: f64,
    r: f64, g: f64, b: f64, 

Source from the content-addressed store, hash-verified

1842
1843#[no_mangle]
1844pub extern "C" fn bloom_draw_texture_pro(
1845 handle: f64,
1846 src_x: f64, src_y: f64, src_w: f64, src_h: f64,
1847 dst_x: f64, dst_y: f64, dst_w: f64, dst_h: f64,
1848 origin_x: f64, origin_y: f64, rotation: f64,
1849 r: f64, g: f64, b: f64, a: f64,
1850) {
1851 let eng = engine();
1852 if let Some(tex) = eng.textures.get(handle) {
1853 let idx = tex.bind_group_idx;
1854 eng.renderer.draw_texture_pro(idx, src_x, src_y, src_w, src_h, dst_x, dst_y, dst_w, dst_h, origin_x, origin_y, rotation, r, g, b, a);
1855 }
1856}
1857
1858#[no_mangle]
1859pub extern "C" fn bloom_draw_texture_rec(

Callers

nothing calls this directly

Calls 3

draw_texture_proMethod · 0.80
engineFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected