Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

draw_tri_flat_blended

Function draw_tri_flat_blended 

Source
pub fn draw_tri_flat_blended(
    verts: [(i16, i16); 3],
    r: u8,
    g: u8,
    b: u8,
    blend_mode: BlendMode,
)
👎Deprecated:

use gpu.set_draw_mode(material) and gpu.draw(&TriFlat::new(..).translucent())

Expand description

Draw a semi-transparent flat-shaded triangle.