---
title: reset()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtlfunctionconstantvalues/reset()
---

# reset()

Deletes all previously set constant values.

## Declaration

```swift
func reset()
```

## Discussion

Discussion You don’t need to call this method if you don’t set any constant values.
