delete

open fun delete()

Schedules the deletion of the underlying C++ object using a two-phase disposal pattern.

UI Thread: Immediately marks the Kotlin object as disposed to prevent new operations. cppDelete schedules the actual deletion on the background render thread, ensuring the C++ object is deleted only after all work for this Renderer has completed.

Background Thread: cleans up resources after all pending work completes via disposeDependencies.