pub fn render<Vtx: Clone, Var: Vary, Uni: Copy, Shd>(
tris: impl AsRef<[Tri<usize>]>,
verts: impl AsRef<[Vtx]>,
shader: &Shd,
uniform: Uni,
to_screen: Mat4x4<NdcToScreen>,
target: &mut impl Target,
ctx: &Context,
)where
Shd: Shader<Vtx, Var, Uni>,Expand description
Renders the given triangles into target.