Post

Replies

Boosts

Views

Activity

How GeometryReader3D acquires depth
I had a question while researching the layout of spatial views in visionOS. As I understand it, in a 2D plan layout GeometryReader can take the suggested dimensions provided by the parent view. In 3D spatial Layout, GeometryReader3D can obtain additional depth value. However, in layout's SizeThatFits function, ProposedViewSize passed by parent view to child view does not contain depth information. How does GeometryReader3D access this depth information?
0
0
720
Aug ’23
Xcode shader debug function is not available
I have two versions of xcode installed on my mac, 14.2 and 13.4. Both versions of the GPU capture frame have no way to debug the shader, the debug button is always unclickable when a pixel is selected, the 14.2 version can't even view the code of the shader, and the performance function doesn't work. My environment is macos monterey 12.6, Xcode 13.4 & 14.2, opengles 3.0, iphone12pro 15.3.1 What is the cause of this situation?
0
0
944
Jan ’23
How GeometryReader3D acquires depth
I had a question while researching the layout of spatial views in visionOS. As I understand it, in a 2D plan layout GeometryReader can take the suggested dimensions provided by the parent view. In 3D spatial Layout, GeometryReader3D can obtain additional depth value. However, in layout's SizeThatFits function, ProposedViewSize passed by parent view to child view does not contain depth information. How does GeometryReader3D access this depth information?
Replies
0
Boosts
0
Views
720
Activity
Aug ’23
Xcode shader debug function is not available
I have two versions of xcode installed on my mac, 14.2 and 13.4. Both versions of the GPU capture frame have no way to debug the shader, the debug button is always unclickable when a pixel is selected, the 14.2 version can't even view the code of the shader, and the performance function doesn't work. My environment is macos monterey 12.6, Xcode 13.4 & 14.2, opengles 3.0, iphone12pro 15.3.1 What is the cause of this situation?
Replies
0
Boosts
0
Views
944
Activity
Jan ’23