Function draw_triangles

Source
pub fn draw_triangles(
    triangles: impl IntoIterator<Item = RibbonTriangle>,
    style: EffectStyle,
) -> DrawReport
Expand description

Record unlit, normalized RGBA triangles with the current camera. This color stream is shared with ordinary geometry; flags preserve blend/depth/HUD order. At most 65,536 triangles are examined per frame, including malformed input.