This commit is contained in:
Михаил Капелько committed 2026-10-23 06:25:13 +03:00
1 parent fa1cd053c8
commit 27b7679bf8
2 files changed

No files matched your search

@@ -0,0 +1,11 @@
import SwiftUI
// SwiftUI counterpart of the macOS RenderView. It vends the shared GL view,
// which RenderVM also keeps alive and drives with a timer.
struct RenderView: UIViewRepresentable {
func makeUIView(context: Context) -> RenderGLView {
RenderVM.shared!.glView
}
func updateUIView(_ uiView: RenderGLView, context: Context) {}
}