summaryrefslogtreecommitdiff
path: root/servers/rendering/storage
diff options
context:
space:
mode:
authorPatrick Dawson <pat@dw.is>2022-11-01 18:50:36 +0100
committerPatrick Dawson <pat@dw.is>2022-11-03 05:27:24 +0100
commit71d8de27635f7d1023ce622ac3c90ed85f59080d (patch)
tree14a487717c2c51a6a9bed157cbaa5667c8435a58 /servers/rendering/storage
parent754552b34d3523a76656940145bd37328536292d (diff)
Expose texture_get_rd_texture
Diffstat (limited to 'servers/rendering/storage')
-rw-r--r--servers/rendering/storage/texture_storage.h2
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;