<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelDeformation/VertexAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:22RealityCoreDeformation08LowLevelC0C15VertexAttributeV"
  },
  "title" : "LowLevelDeformation.VertexAttribute"
}
-->

# LowLevelDeformation.VertexAttribute

An object that describes the format and stride of a single vertex attribute.

```
struct VertexAttribute
```

## Topics

### Creating a vertex attribute

[`init(semantic: LowLevelDeformation.VertexSemantic, format: MTLVertexFormat, stride: Int)`](/documentation/RealityKit/LowLevelDeformation/VertexAttribute/init(semantic:format:stride:))

Creates a vertex attribute.

### Accessing layout information

[`var stride: Int`](/documentation/RealityKit/LowLevelDeformation/VertexAttribute/stride)

The distance, in bytes, between consecutive vertices for this attribute.

### Instance Properties

[`var format: MTLVertexFormat`](/documentation/RealityKit/LowLevelDeformation/VertexAttribute/format)

The format of the vertex attribute.

[`var semantic: LowLevelDeformation.VertexSemantic`](/documentation/RealityKit/LowLevelDeformation/VertexAttribute/semantic)

The semantic of the vertex attribute.

## Relationships

### Conforms To

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

[`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)