---
title: data
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scngeometrysource/data
---

# data

The data for the geometry source.

## Declaration

```swift
var data: Data { get }
```

## Discussion

Discussion A geometry source’s data is an array of vectors, each of which represents a particular attribute (or semantic) of a vertex in the geometry. The other properties of the geometry source determine how SceneKit interprets this data. For example, an array of vertex positions may have three 32-bit floating-point components per vector, but an array of texture coordinates may have two 8-bit integer coponents per vector.

## See Also

### Inspecting a Geometry Source

- [semantic](scenekit/scngeometrysource/semantic-swift.property.md)
- [vectorCount](scenekit/scngeometrysource/vectorcount.md)
- [usesFloatComponents](scenekit/scngeometrysource/usesfloatcomponents.md)
- [componentsPerVector](scenekit/scngeometrysource/componentspervector.md)
- [bytesPerComponent](scenekit/scngeometrysource/bytespercomponent.md)
- [dataOffset](scenekit/scngeometrysource/dataoffset.md)
- [dataStride](scenekit/scngeometrysource/datastride.md)
