diff options
| author | dumitru-stama | 2017-06-24 08:53:54 -0700 |
|---|---|---|
| committer | dumitru-stama | 2017-06-24 08:53:54 -0700 |
| commit | 9ce0538ab3193a9ca0027b2b7516c04e97cacd78 (patch) | |
| tree | 48f9d99f847b0537ba864ad8efebd92f36cbb729 /core/image.h | |
| parent | bd2dd034a73f76841f5e8345ed7a62d8347a8f1f (diff) | |
| download | godot-9ce0538ab3193a9ca0027b2b7516c04e97cacd78.tar.gz godot-9ce0538ab3193a9ca0027b2b7516c04e97cacd78.tar.zst godot-9ce0538ab3193a9ca0027b2b7516c04e97cacd78.zip | |
Added 'blit_rect_mask' for 3.0 too
Diffstat (limited to '')
| -rw-r--r-- | core/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/image.h b/core/image.h index 3323afdc4..e523f703f 100644 --- a/core/image.h +++ b/core/image.h @@ -283,6 +283,7 @@ public: void normalmap_to_xy(); 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); void blend_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); void blend_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, const Point2 &p_dest); void fill(const Color &c); |
