---
title: LowLevelMeshResource.Descriptor
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/lowlevelmeshresource/descriptor-swift.struct
---

# LowLevelMeshResource.Descriptor

An object that describes the data format and layout of the buffers in a low-level mesh.

## Declaration

```swift
struct Descriptor
```

## Overview

Overview The descriptor is analogous to MTLVertexDescriptor, with additional semantics that make vertex data available in shaders.

## Topics

### Creating a descriptor

- [init(vertexCapacity:vertexAttributes:vertexLayouts:indexCapacity:indexType:instanceCapacity:)](realitykit/lowlevelmeshresource/descriptor-swift.struct/init(vertexcapacity:vertexattributes:vertexlayouts:indexcapacity:indextype:instancecapacity:).md)

### Configuring instancing

- [instanceCapacity](realitykit/lowlevelmeshresource/descriptor-swift.struct/instancecapacity.md)

### Instance Properties

- [indexCapacity](realitykit/lowlevelmeshresource/descriptor-swift.struct/indexcapacity.md)
- [indexType](realitykit/lowlevelmeshresource/descriptor-swift.struct/indextype.md)
- [vertexAttributes](realitykit/lowlevelmeshresource/descriptor-swift.struct/vertexattributes.md)
- [vertexBufferCount](realitykit/lowlevelmeshresource/descriptor-swift.struct/vertexbuffercount.md)
- [vertexCapacity](realitykit/lowlevelmeshresource/descriptor-swift.struct/vertexcapacity.md)
- [vertexLayouts](realitykit/lowlevelmeshresource/descriptor-swift.struct/vertexlayouts.md)

### Type Properties

- [maxVertexBufferCount](realitykit/lowlevelmeshresource/descriptor-swift.struct/maxvertexbuffercount.md)

## Relationships

### Conforms To

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

## See Also

### Describing the mesh layout

- [descriptor](realitykit/lowlevelmeshresource/descriptor-swift.property.md)
- [LowLevelMeshResource.Layout](realitykit/lowlevelmeshresource/layout.md)
- [LowLevelMeshResource.Attribute](realitykit/lowlevelmeshresource/attribute.md)
- [LowLevelMeshResource.VertexSemantic](realitykit/lowlevelmeshresource/vertexsemantic.md)
