Post

Replies

Boosts

Views

Activity

Reply to UIKit Document App -- adding a toolbar
Ok seems I have to change presentDocument to: func presentDocument(at documentURL: URL) { let navVC = UINavigationController() let doc = Document(fileURL: documentURL) let docVC = UIDocumentViewController(document: doc) navVC.modalPresentationStyle = .fullScreen navVC.addChild(docVC) present(navVC, animated: true, completion: nil) } So embed the UIDocumentViewController inside a UINavigationController.
Dec ’23
Reply to acceleration structure doesn't render in gpu trace
@Graphics and Games Engineer I'm using this for my payload for both intersection functions: typedef struct { vector_float3 normal; vector_float3 color; } IntersectionPayload; (sorry I can't seem to get the code block to render correctly). It just returns the surface normal and color from the intersection function. I think that's a trivial usage.
Aug ’23