removed

open override fun removed()(source)

Detaches the common retained tree while retaining it for a later add callback. Detached screens release their prepared display list and texture references so a parent screen cannot retain presentation-only data while hidden. The independent device preserves already queued native layers through their actual consumption fences.

Throws

when the common host rejects detachment or cleanup fails.

when invoked away from the Minecraft client thread.