OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user