For GDExternal use, provides access to internal graphics handles for textures

This commit is contained in:
Bastiaan Olij 2023-03-10 21:24:25 +11:00
parent 6980b2bf17
commit c328676d96
13 changed files with 45 additions and 0 deletions

View file

@ -159,6 +159,7 @@ public:
virtual void texture_set_force_redraw_if_visible(RID p_texture, bool p_enable) = 0;
virtual RID texture_get_rd_texture(RID p_texture, bool p_srgb = false) const = 0;
virtual uint64_t texture_get_native_handle(RID p_texture, bool p_srgb = false) const = 0;
/* SHADER API */