---
title: releaseDrawables()
framework: metalkit
role: symbol
role_heading: Instance Method
path: metalkit/mtkview/releasedrawables()
---

# releaseDrawables()

Releases the depthStencilTexture and multisampleColorTexture objects.

## Declaration

```swift
func releaseDrawables()
```

## Discussion

Discussion Call this method when your app is moving to the background or when the view won’t display content for a significant period of time. The texture objects that this class creates consume a large amount of memory, so freeing them makes that memory available to other parts of your app.
