diff options
author | Patrick Dawson <pat@dw.is> | 2022-11-01 18:50:36 +0100 |
---|---|---|
committer | Patrick Dawson <pat@dw.is> | 2022-11-03 05:27:24 +0100 |
commit | 71d8de27635f7d1023ce622ac3c90ed85f59080d (patch) | |
tree | 14a487717c2c51a6a9bed157cbaa5667c8435a58 /servers/rendering/storage | |
parent | 754552b34d3523a76656940145bd37328536292d (diff) |
Expose texture_get_rd_texture
Diffstat (limited to 'servers/rendering/storage')
-rw-r--r-- | servers/rendering/storage/texture_storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/storage/texture_storage.h b/servers/rendering/storage/texture_storage.h index 635f44786c..5989bb0214 100644 --- a/servers/rendering/storage/texture_storage.h +++ b/servers/rendering/storage/texture_storage.h @@ -100,6 +100,8 @@ public: virtual Size2 texture_size_with_proxy(RID p_proxy) = 0; + virtual RID texture_get_rd_texture_rid(RID p_texture, bool p_srgb = false) const = 0; + /* Decal API */ virtual RID decal_allocate() = 0; virtual void decal_initialize(RID p_rid) = 0; |