UTM's shared directory implementation relies on SPICE WebDAV, which is slow.
Use Samba for faster shared directories. Samba is ~5x faster, see benchmarks at the end.
| // | |
| // TaggerView.swift | |
| // | |
| // Created by Alex Hay on 21/11/2020. | |
| // | |
| // Simple interface for adding tags to an array in SwiftUI | |
| // Example video: https://imgur.com/gallery/CcA1IXp | |
| // alignmentGuide code from Asperi @ https://stackoverflow.com/a/58876712/11685049 | |
| import SwiftUI |
| Shader "Custom/MobileOcclusion" | |
| { | |
| SubShader { | |
| Pass { | |
| // Render the Occlusion shader before all | |
| // opaque geometry to prime the depth buffer. | |
| Tags { "Queue"="Geometry" } | |
| ZWrite On | |
| ZTest LEqual |