---
title: "MPSHintTemporaryMemoryHighWaterMark(_:_:)"
framework: metalperformanceshaders
role: symbol
role_heading: Function
path: "metalperformanceshaders/mpshinttemporarymemoryhighwatermark(_:_:)"
---

# MPSHintTemporaryMemoryHighWaterMark(_:_:)

Triggers Metal Performance Shaders to prefetch a Metal heap of the indicated size into its internal cache.

## Declaration

```swift
func MPSHintTemporaryMemoryHighWaterMark(_ cmdBuf: any MTLCommandBuffer, _ bytes: Int)
```
