destroy

abstract fun destroy()(source)

Destroy the RenderTarget.

In order to fully destroy the RenderTarget, you should

  1. Destroy the color attachments and the depth attachment

  2. Call detachColorAttachments and detachDepthBuffer

  3. Call destroy