You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
This commit is contained in:
@@ -56,8 +56,15 @@ bool OpenXRCompositionLayerDepthExtension::is_available() {
|
||||
return available;
|
||||
}
|
||||
|
||||
XrCompositionLayerBaseHeader *OpenXRCompositionLayerDepthExtension::get_composition_layer() {
|
||||
// Seems this is all done in our base layer... Just in case this changes...
|
||||
int OpenXRCompositionLayerDepthExtension::get_composition_layer_count() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
XrCompositionLayerBaseHeader *OpenXRCompositionLayerDepthExtension::get_composition_layer(int p_index) {
|
||||
// Seems this is all done in our base layer... Just in case this changes...
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int OpenXRCompositionLayerDepthExtension::get_composition_layer_order(int p_index) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user