Function SurfaceTool.begin

Called before adding any vertices. Takes the primitive type as an argument (e.g. constant Mesh.PRIMITIVE_TRIANGLES).

void begin (
  const(long) primitive
) nothrow @nogc;