You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying (like others, it seems) to implement the XR_META_environment_depth extension. I'm making decent progress, but I appear to have hit a wall:
There is a method (xrAcquireEnvironmentDepthImageMETA) that must be called between xrBeginFrame and xrEndFrame. I can't find any way to do this. _on_pre_render() is invoked before xrBeginFrame.
Is there anything I'm missing? Or is it possible to do this in some way I'm not thinking of?
The text was updated successfully, but these errors were encountered:
I think that OpenXRExtensionWrapper::on_pre_draw_viewport() runs in-between xrBeginFrame() and xrEndFrame(), but it looks like we aren't exposing that to OpenXRExtensionWrapperExtension - I'm not sure why? It should be relatively easy to expose that! I'll make a PR and see if anyone on the XR team has any objections.
I just posted PR godotengine/godot#98831 for Godot which exposes both of those virtual methods to GDExtension. Please let me know if they end up working for your use-case or not!
Hi!
I'm trying (like others, it seems) to implement the XR_META_environment_depth extension. I'm making decent progress, but I appear to have hit a wall:
There is a method (xrAcquireEnvironmentDepthImageMETA) that must be called between xrBeginFrame and xrEndFrame. I can't find any way to do this. _on_pre_render() is invoked before xrBeginFrame.
Is there anything I'm missing? Or is it possible to do this in some way I'm not thinking of?
The text was updated successfully, but these errors were encountered: