---
title: "draw(in:)"
framework: metalkit
role: symbol
role_heading: Instance Method
path: "metalkit/mtkviewdelegate/draw(in:)"
---

# draw(in:)

Draws the view’s contents.

## Declaration

```swift
@MainActor func draw(in view: MTKView)
```

## Parameters

- `view`: The view requesting that its contents be redrawn.

## Discussion

Discussion This method is called on the delegate when it is asked to render into the view.
