close

abstract override fun close()(source)

Releases the source reservation on the render thread after GPU capture completes, independently of later GUI target use.

The caller owns the texture before and after release; Strata invokes this callback without deleting the texture itself. Cleanup may request native deletion but must not issue new GPU work or depend on a future GUI frame.

Throws

when source cleanup fails; the device preserves the primary failure while attempting independent cleanup.