mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS
This commit is contained in:
parent
b13c96b097
commit
79f5a4d9fe
24 changed files with 178 additions and 18 deletions
|
|
@ -103,6 +103,7 @@ public:
|
|||
virtual Transform3D get_transform_for_view(uint32_t p_view, const Transform3D &p_cam_transform) override;
|
||||
virtual Projection get_projection_for_view(uint32_t p_view, double p_aspect, double p_z_near, double p_z_far) override;
|
||||
virtual RID get_vrs_texture() override;
|
||||
virtual VRSTextureFormat get_vrs_texture_format() override;
|
||||
virtual RID get_color_texture() override;
|
||||
virtual RID get_depth_texture() override;
|
||||
virtual RID get_velocity_texture() override;
|
||||
|
|
@ -113,6 +114,7 @@ public:
|
|||
GDVIRTUAL2R(Transform3D, _get_transform_for_view, uint32_t, const Transform3D &);
|
||||
GDVIRTUAL4R(PackedFloat64Array, _get_projection_for_view, uint32_t, double, double, double);
|
||||
GDVIRTUAL0R(RID, _get_vrs_texture);
|
||||
GDVIRTUAL0R(VRSTextureFormat, _get_vrs_texture_format);
|
||||
GDVIRTUAL0R(RID, _get_color_texture);
|
||||
GDVIRTUAL0R(RID, _get_depth_texture);
|
||||
GDVIRTUAL0R(RID, _get_velocity_texture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue