Draw checkerboard (or clear color) under embedded window.

This commit is contained in:
Pāvels Nadtočajevs 2025-05-13 09:08:10 +03:00
parent c0ebba60de
commit 6a118b5027
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
4 changed files with 36 additions and 1 deletions

View file

@ -47,6 +47,12 @@ protected:
Point2i margin_bottom_right;
Window *window = nullptr;
bool transp_enabled = false;
Color clear_color;
Ref<Texture2D> checkerboard;
void _project_settings_changed();
static void _bind_methods();
void _notification(int p_what);