mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS
This commit is contained in:
@@ -429,7 +429,7 @@ public:
|
||||
void texture_set_discardable(RID p_texture, bool p_discardable);
|
||||
bool texture_is_discardable(RID p_texture);
|
||||
|
||||
private:
|
||||
public:
|
||||
/*************/
|
||||
/**** VRS ****/
|
||||
/*************/
|
||||
@@ -440,6 +440,7 @@ private:
|
||||
VRS_METHOD_FRAGMENT_DENSITY_MAP,
|
||||
};
|
||||
|
||||
private:
|
||||
VRSMethod vrs_method = VRS_METHOD_NONE;
|
||||
DataFormat vrs_format = DATA_FORMAT_MAX;
|
||||
Size2i vrs_texel_size;
|
||||
@@ -450,6 +451,7 @@ private:
|
||||
void _vrs_detect_method();
|
||||
|
||||
public:
|
||||
VRSMethod vrs_get_method() const;
|
||||
DataFormat vrs_get_format() const;
|
||||
Size2i vrs_get_texel_size() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user