Surface.destroy

Decreases the reference count on surface by one. If the result is zero, then surface and all associated resources are freed. See Surface.reference. Since 1.0

class Surface
void
destroy
()