Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node #90237

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Apr 5, 2024

This is a follow-up to PR #89880

There are a number of OpenXR vendor extensions that add new structures that allow configuring composition layers in special ways.

This PR allows GDExtensions to add properties to the OpenXRCompositionLayer node, and inject these new structures into the composition layer's configuration using the values of these properties.

I just posted PR GodotVR/godot_openxr_vendors#117 to 'godot_openxr_vendors' as an example, which adds support for XR_FB_composition_layer_secure_content - here's how it looks in the editor:

Selection_138

@dsnopek dsnopek force-pushed the openxr-composition-layers-extension-properties branch from 136c4dd to b510538 Compare April 5, 2024 12:11
@dsnopek dsnopek requested a review from m4gr3d April 5, 2024 12:13
@dsnopek dsnopek force-pushed the openxr-composition-layers-extension-properties branch from b510538 to fddf6dc Compare April 5, 2024 12:18
@akien-mga akien-mga merged commit 59cfa0e into godotengine:master Apr 8, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@dsnopek dsnopek deleted the openxr-composition-layers-extension-properties branch July 22, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants