Function ArrayMesh.surfaceGetPrimitiveType

Returns the primitive type of the requested surface (see addSurfaceFromArrays).

Mesh.PrimitiveType surfaceGetPrimitiveType (
  const(long) surf_idx
) nothrow @nogc const;