---
title: clearPartCache()
framework: hvf
role: symbol
role_heading: Instance Method
platforms: [iOS 18.4+, iPadOS 18.4+, Mac Catalyst 18.4+, macOS 15.4+, tvOS 18.4+, visionOS 2.4+, watchOS 11.4+]
path: hvf/partrenderer/clearpartcache()
---

# clearPartCache()

Clear the cache of loaded parts. This only happens when this function is called.

## Declaration

```swift
func clearPartCache()
```
