Allow using custom Rect2i for rendering with OpenXR

This commit is contained in:
devloglogan 2024-09-20 15:57:19 -05:00
parent 4364ed6ccd
commit e7f6b7ea0b
25 changed files with 215 additions and 19 deletions

View file

@ -184,6 +184,9 @@ public:
virtual RID render_target_get_override_velocity(RID p_render_target) const = 0;
virtual RID render_target_get_override_velocity_depth(RID p_render_target) const = 0;
virtual void render_target_set_render_region(RID p_render_target, const Rect2i &p_render_region) = 0;
virtual Rect2i render_target_get_render_region(RID p_render_target) const = 0;
// get textures
virtual RID render_target_get_texture(RID p_render_target) = 0;