1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS

This commit is contained in:
David Snopek
2024-11-27 10:34:48 -06:00
parent b13c96b097
commit 79f5a4d9fe
24 changed files with 178 additions and 18 deletions

View File

@@ -73,6 +73,7 @@ public:
bool acquire(bool &p_should_render);
bool release();
RID get_image();
RID get_density_map();
};
private:
@@ -501,6 +502,7 @@ public:
XrSwapchain get_color_swapchain();
RID get_color_texture();
RID get_depth_texture();
RID get_density_map_texture();
void set_velocity_texture(RID p_render_target);
RID get_velocity_texture();
void set_velocity_depth_texture(RID p_render_target);