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

Function bloom_draw_texture

native/ios/src/lib.rs:927–933  ·  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

925
926#[no_mangle]
927pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) {
928 let eng = engine();
929 if let Some(tex) = eng.textures.get(handle) {
930 let idx = tex.bind_group_idx;
931 eng.renderer.draw_texture(idx, x, y, r, g, b, a);
932 }
933}
934
935#[no_mangle]
936pub extern "C" fn bloom_draw_texture_pro(

Callers 1

drawTextureFunction · 0.50

Calls 3

draw_textureMethod · 0.80
engineFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected