---
title: "attributeToHostApp(_:)"
framework: Foveated Streaming
role: symbol
role_heading: Instance Method
platforms: [visionOS 27.0+]
path: "foveatedstreaming/foveatedstreamingprovidercontext/attributetohostapp(_:)-88yg7"
---

# attributeToHostApp(_:)

Attributes a Metal resource’s memory to the host app instead of the extension.

## Declaration

```swift
@MainActor final func attributeToHostApp(_ resource: any MTLResource)
```
