---
title: resourceAlias
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtl4visibilityoptions/resourcealias
---

# resourceAlias

Flushes caches to ensure that aliased virtual addresses are memory consistent.

## Declaration

```swift
static var resourceAlias: MTL4VisibilityOptions { get }
```

## Discussion

Discussion On some systems this may be the GPU+CPU (system) memory coherence point and on other systems it may be the GPU (device) memory coherence point.
