From an other topic:
Now that gaze highlights are supported in Metal, are there any plans to support this in Unity? @AndrzejUnity
Ideally, the low level API would allow us to generate and provide the index texture using whatever rendering method we want, pass it over to Unity and Unity to the visionOS compositing system.
Mid- to longer term, of course, it would be great to have UI Toolkit be able to just support this out of the box. It’s great to see that world space support is available in Unity 6.2, so maybe a UI Toolkit world space UI with highlighting support is not too far in the future?
If you plan to build this into UI Toolkit, it would be great to be able to combine it with non-UI objects as well. This means, we would need to be able to blit or render into the same index texture as UI Toolkit.