diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/image.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/image.cpp b/core/image.cpp index c98aff0f29..4ab71128cd 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -3018,6 +3018,7 @@ void Image::_bind_methods() { ClassDB::bind_method(D_METHOD("load", "path"), &Image::load); ClassDB::bind_method(D_METHOD("save_png", "path"), &Image::save_png); + ClassDB::bind_method(D_METHOD("save_png_to_buffer"), &Image::save_png_to_buffer); ClassDB::bind_method(D_METHOD("save_exr", "path", "grayscale"), &Image::save_exr, DEFVAL(false)); ClassDB::bind_method(D_METHOD("detect_alpha"), &Image::detect_alpha); |