---
title: unload()
framework: scenekit
role: symbol
role_heading: Instance Method
path: scenekit/scnreferencenode/unload()
---

# unload()

Removes the node’s children and marks the node as not loaded.

## Declaration

```swift
func unload()
```

## Discussion

Discussion Calling this method does not necessarily unload any content associated with the node’s child nodes from memory—it merely removes them from the scene graph. The unlinked nodes and their content are then subject to normal object memory management rules. Under ARC, those objects are deallocated if and only if they are not referenced from elsewhere in your program.

## See Also

### Loading and Unloading a Reference Node’s Content

- [referenceURL](scenekit/scnreferencenode/referenceurl.md)
- [loadingPolicy](scenekit/scnreferencenode/loadingpolicy.md)
- [load()](scenekit/scnreferencenode/load().md)
- [isLoaded](scenekit/scnreferencenode/isloaded.md)
