How can use a metal shader in xrOS?

Hi,

I have a complex glsl fragment shader similar to ray tracing shader. so I want to port it metal shader and use it in xrOS. How I can use a metal shader in xrOS?

Check out this WWDC session from this year: https://developer.apple.com/videos/play/wwdc2023/10089/

Really it's helpful link. btw when can I expect a full sample code for this video? Actually I tried to create MTLCommandBuffer and MTLRenderCommandEncoder inside the renderloop, but I am not sure how to submit the command buffer.

Accepted Answer

I found at here.

How can use a metal shader in xrOS?
 
 
Q