---
title: ComputeNodeGraph.Topology
framework: Compute Graph
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/topology
---

# ComputeNodeGraph.Topology

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

## Declaration

```swift
enum Topology
```

## Overview

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

- [ComputeNodeGraph.Topology.instances](computegraph/computenodegraph/topology/instances.md)
- [ComputeNodeGraph.Topology.octagon](computegraph/computenodegraph/topology/octagon.md)
- [ComputeNodeGraph.Topology.point](computegraph/computenodegraph/topology/point.md)
- [ComputeNodeGraph.Topology.quad](computegraph/computenodegraph/topology/quad.md)
- [ComputeNodeGraph.Topology.strip](computegraph/computenodegraph/topology/strip.md)
- [ComputeNodeGraph.Topology.triangle](computegraph/computenodegraph/topology/triangle.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
