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
+9
View File
@@ -275,5 +275,14 @@
<constant name="XR_ENV_BLEND_MODE_ALPHA_BLEND" value="2" enum="EnvironmentBlendMode">
Alpha blend mode. This is typically used for AR or VR devices with passthrough capabilities. The alpha channel controls how much of the passthrough is visible. Alpha of 0.0 means the passthrough is visible and this pixel works in ADDITIVE mode. Alpha of 1.0 means that the passthrough is not visible and this pixel works in OPAQUE mode.
</constant>
<constant name="XR_VRS_TEXTURE_FORMAT_UNIFIED" value="0" enum="VRSTextureFormat">
The texture format is the same as returned by [method XRVRS.make_vrs_texture].
</constant>
<constant name="XR_VRS_TEXTURE_FORMAT_FRAGMENT_SHADING_RATE" value="1" enum="VRSTextureFormat">
The texture format is the same as expected by the Vulkan [code]VK_KHR_fragment_shading_rate[/code] extension.
</constant>
<constant name="XR_VRS_TEXTURE_FORMAT_FRAGMENT_DENSITY_MAP" value="2" enum="VRSTextureFormat">
The texture format is the same as expected by the Vulkan [code]VK_EXT_fragment_density_map[/code] extension.
</constant>
</constants>
</class>