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

draw_quad_textured_gouraud_material

Function draw_quad_textured_gouraud_material 

Source
pub fn draw_quad_textured_gouraud_material(
    verts: [(i16, i16); 4],
    uvs: [(u8, u8); 4],
    colors: [(u8, u8, u8); 4],
    material: TextureMaterial,
)
👎Deprecated:

use gpu.draw(&QuadTexturedGouraud::with_material(..))

Expand description

Draw a Gouraud-shaded textured quad using a TextureMaterial.