Post

Replies

Boosts

Views

Activity

Comment on `MTKView` on visionOS
This setup works, tho I get: "frameBufferOnly texture not supported for compute." Update: metalLayer.framebufferOnly = false got rid of this error.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on How to create a Metal shader with layerEffect in SwiftUI
Thank you, that worked. I can now sample the layer: half4 color = layer.sample(float2(x, y));
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on Jaggy, Laggy, low-fps scrolling on iPhone 13 Pro (Pro Motion Display) for .offset
This works! Also remember to set the info.plist key "CADisableMinimumFrameDurationOnPhone" to true.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22