<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeNodeGraph/Topology",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Compute Graph",
      "ComputeGraph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0a4NodeB0V8TopologyO"
  },
  "title" : "ComputeNodeGraph.Topology"
}
-->

# ComputeNodeGraph.Topology

The primitive topology used to assemble output geometry for an output stage.

```
enum Topology
```

## Overview

Set on an output stage via the `topology` property. The output’s topology
determines how the compute graph emits vertex data for each element and how
that data is consumed by the render pipeline.

## Topics

### Enumeration Cases

[`case instances`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/instances)

Elements are rendered as instanced meshes.

[`case octagon`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/octagon)

Each element emits eight vertices, rendered as an octagon.

[`case point`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/point)

Each element emits a single vertex.

[`case quad`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/quad)

Each element emits four vertices, rendered as a quad (two triangles).

[`case strip`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/strip)

Elements share vertices in a triangle-strip winding order. Requires a simulation with a grouping of `strips`.

[`case triangle`](/documentation/ComputeGraph/ComputeNodeGraph/Topology/triangle)

Each element emits three vertices, rendered as an independent triangle.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)