summaryrefslogtreecommitdiffstats
path: root/core/io/image.h
diff options
context:
space:
mode:
authorBlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>2024-06-05 16:22:11 +0200
committerBlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>2024-08-27 09:23:17 +0200
commit76c82116532223f8be75816786d7031c25af090e (patch)
tree0d3b2fb8cdb267bfc26d2adf19a916e621b27a1d /core/io/image.h
parentdb76de5de8a415b29be4c7dd84b99bd0fe260822 (diff)
downloadredot-engine-76c82116532223f8be75816786d7031c25af090e.tar.gz
Image: Add a method for detecting signed values
Diffstat (limited to 'core/io/image.h')
-rw-r--r--core/io/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/image.h b/core/io/image.h
index 8d09a0b40b..4461ae71a6 100644
--- a/core/io/image.h
+++ b/core/io/image.h
@@ -391,6 +391,8 @@ public:
Ref<Image> get_image_from_mipmap(int p_mipmap) const;
void bump_map_to_normal_map(float bump_scale = 1.0);
+ bool detect_signed(bool p_include_mips = true) const;
+
void blit_rect(const Ref<Image> &p_src, const Rect2i &p_src_rect, const Point2i &p_dest);
void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2i &p_src_rect, const Point2i &p_dest);
void blend_rect(const Ref<Image> &p_src, const Rect2i &p_src_rect, const Point2i &p_dest);