<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLGeometryType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:@E@MDLGeometryType"
  },
  "title" : "MDLGeometryType"
}
-->

# MDLGeometryType

Types of geometric primitives for rendering a submesh, used by the [`geometryType`](/documentation/ModelIO/MDLSubmesh/geometryType) property.

```
enum MDLGeometryType
```

## Topics

### Constants

[`MDLGeometryTypePoints`](/documentation/ModelIO/MDLGeometryType/points)

Each index in the submesh refers to a vertex to be rendered as a single point.

[`MDLGeometryTypeLines`](/documentation/ModelIO/MDLGeometryType/lines)

Each pair of consecutive indices in the submesh refers to two vertices to be rendered as a line segment.

[`MDLGeometryTypeTriangles`](/documentation/ModelIO/MDLGeometryType/triangles)

Each set of three consecutive indices in the submesh refers to three vertices to be rendered as a triangle.

[`MDLGeometryTypeTriangleStrips`](/documentation/ModelIO/MDLGeometryType/triangleStrips)

The first three consecutive indices in the submesh refer to three vertices to be rendered as a triangle. Each subsequent index refers to another vertex that completes a triangle formed by connecting it to the previous two vertices.

[`MDLGeometryTypeQuads`](/documentation/ModelIO/MDLGeometryType/quads)

Each set of four consecutive indices in the submesh refers to four vertices to be rendered as a quadrilateral.

[`MDLGeometryTypeVariableTopology`](/documentation/ModelIO/MDLGeometryType/variableTopology)

The submesh’s index buffer does not contain a uniform set of primitives.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)