destroy

abstract fun destroy()

destroy the RenderTarget to properly destroy destroy color attachments and depth attachment first then use detachColorAttachments and detachDepthBuffer before calling destroy