Improving communication of scaling settings to renderer implementation

This commit is contained in:
Bastiaan Olij 2023-01-13 12:54:15 +11:00
parent 1f171ff18b
commit 478c37deb8
10 changed files with 62 additions and 59 deletions

View file

@ -802,7 +802,8 @@ public:
enum ViewportScaling3DMode {
VIEWPORT_SCALING_3D_MODE_BILINEAR,
VIEWPORT_SCALING_3D_MODE_FSR,
VIEWPORT_SCALING_3D_MODE_MAX
VIEWPORT_SCALING_3D_MODE_MAX,
VIEWPORT_SCALING_3D_MODE_OFF = 255, // for internal use only
};
virtual void viewport_set_use_xr(RID p_viewport, bool p_use_xr) = 0;