draw(in:)
Draws the view’s contents.
Declaration
@MainActor func draw(in view: MTKView)Parameters
- view:
The view requesting that its contents be redrawn.
Discussion
This method is called on the delegate when it is asked to render into the view.
Draws the view’s contents.
@MainActor func draw(in view: MTKView)The view requesting that its contents be redrawn.
This method is called on the delegate when it is asked to render into the view.