---
title: GeometrySource
framework: arkit
role: symbol
role_heading: Structure
path: arkit/geometrysource
---

# GeometrySource

A container for geometrical vector data.

## Declaration

```swift
struct GeometrySource
```

## Overview

Overview Mesh-anchor geometry (MeshDescriptor) uses geometry sources to hold 3D data like vertices and normals in an efficent, array-like format. A Metal buffer wraps the data and other properties specify how to interpret that data. If componentsPerVector is greater than one, the element type of the geometry-source array is itself a sequence (pairs, triplets, and so on).

## Topics

### Inspecting geometry data

- [buffer](arkit/geometrysource/buffer.md)
- [count](arkit/geometrysource/count.md)
- [format](arkit/geometrysource/format.md)
- [componentsPerVector](arkit/geometrysource/componentspervector.md)
- [offset](arkit/geometrysource/offset.md)
- [stride](arkit/geometrysource/stride.md)
- [description](arkit/geometrysource/description.md)

### Default Implementations

- [Equatable Implementations](arkit/geometrysource/equatable-implementations.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Geometry

- [GeometryElement](arkit/geometryelement.md)
