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

Function bloom_draw_texture

native/tvos/src/lib.rs:1835–1841  ·  view source on GitHub ↗
(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64)

Source from the content-addressed store, hash-verified

1833
1834#[no_mangle]
1835pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) {
1836 let eng = engine();
1837 if let Some(tex) = eng.textures.get(handle) {
1838 let idx = tex.bind_group_idx;
1839 eng.renderer.draw_texture(idx, x, y, r, g, b, a);
1840 }
1841}
1842
1843#[no_mangle]
1844pub extern "C" fn bloom_draw_texture_pro(

Callers

nothing calls this directly

Calls 3

draw_textureMethod · 0.80
engineFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected