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 closing the texture itself. Cleanup may enqueue native destruction but must not submit 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.