Function ImmediateGeometry.begin

Begin drawing (and optionally pass a texture override). When done call end. For more information on how this works, search for glBegin() and glEnd() references. For the type of primitive, see the Mesh.primitivetype enum.

void begin (
  const(long) primitive,
  Texture texture = Texture(godot_object(null), )
) nothrow @nogc;