pub fn draw_sprite_material(
x: i16,
y: i16,
w: u16,
h: u16,
uv: (u8, u8),
material: TextureMaterial,
)👎Deprecated:
use gpu.set_draw_mode(material) and gpu.draw(&Sprite::with_material(..))
Expand description
Draw a variable-size textured sprite using a TextureMaterial.