summaryrefslogtreecommitdiff
path: root/core/io/image.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-29 10:39:56 +0100
committerGitHub <noreply@github.com>2020-12-29 10:39:56 +0100
commit2086acfacc6da8c4e3bfedd887025686c38b90bd (patch)
treee21c78239bf82d8a1d4749c194a36b2cd2533b9a /core/io/image.h
parent0494c56c862620c33c2b1483b584118110e6b1f1 (diff)
parentb4a190e0bc4885e33282ba68e4970f00601fa3c9 (diff)
Merge pull request #44614 from madmiraal/rename-normalmap-normal_map
Consistently use normal_map
Diffstat (limited to 'core/io/image.h')
-rw-r--r--core/io/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/image.h b/core/io/image.h
index 7280500c85..aba8f2b0a3 100644
--- a/core/io/image.h
+++ b/core/io/image.h
@@ -350,10 +350,10 @@ public:
void fix_alpha_edges();
void premultiply_alpha();
void srgb_to_linear();
- void normalmap_to_xy();
+ void normal_map_to_xy();
Ref<Image> rgbe_to_srgb();
Ref<Image> get_image_from_mipmap(int p_mipamp) const;
- void bumpmap_to_normalmap(float bump_scale = 1.0);
+ void bump_map_to_normal_map(float bump_scale = 1.0);
void blit_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest);
void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, const Point2 &p_dest);