---
title: reset()
framework: modelio
role: symbol
role_heading: Instance Method
path: modelio/mdlvertexdescriptor/reset()
---

# reset()

Resets a vertex descriptor to its default state.

## Declaration

```swift
func reset()
```

## Discussion

Discussion Calling this method returns the descriptor to its original state, as is produced when initializing a vertex descriptor with the inherited init() method. After calling this method, the descriptor contains a single empty MDLVertexAttribute object and a single empty MDLVertexBufferLayout object.
