Instance Method

present()

Presents the drawable onscreen as soon as possible.

Required.

Declaration

func present()

Discussion

When a command queue schedules a command buffer for execution, it tracks whether any commands in that command buffer need to render or write to the drawable object. When you call this method, the drawable presents its contents as soon as possible after all scheduled render or write requests for that drawable are complete.

See Also

Presenting the Drawable

func present(afterMinimumDuration: CFTimeInterval)

Presents the drawable onscreen as soon as possible after a previous drawable is visible for the specified duration.

Required.

func present(at: CFTimeInterval)

Presents the drawable onscreen at a specific host time.

Required.