attributeToHostApp(_:)
Attributes a Metal resource’s memory to the host app instead of the extension.
Declaration
@MainActor final func attributeToHostApp(_ resource: any MTLResource)Attributes a Metal resource’s memory to the host app instead of the extension.
@MainActor final func attributeToHostApp(_ resource: any MTLResource)