diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-24 00:12:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 00:12:16 +0200 |
commit | ecf187705eb59632cefa649b0f4b44dd3569c0fb (patch) | |
tree | 7d35a31a47e3c8b0a66638bdcb3587fbd67b93ca /modules/tinyexr/image_saver_tinyexr.h | |
parent | 2a0393e2226d12f077b90e018a1fe4ca171a5562 (diff) | |
parent | ce42ee790c2cc1164414d451d8a3f4f8eda84123 (diff) |
Merge pull request #62238 from V-Sekai/openexr-buffer
For in-engine processing allow saving openexr to a buffer.
Diffstat (limited to 'modules/tinyexr/image_saver_tinyexr.h')
-rw-r--r-- | modules/tinyexr/image_saver_tinyexr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tinyexr/image_saver_tinyexr.h b/modules/tinyexr/image_saver_tinyexr.h index 5bf95b265e..8f97f55408 100644 --- a/modules/tinyexr/image_saver_tinyexr.h +++ b/modules/tinyexr/image_saver_tinyexr.h @@ -34,5 +34,6 @@ #include "core/os/os.h" Error save_exr(const String &p_path, const Ref<Image> &p_img, bool p_grayscale); +Vector<uint8_t> save_exr_buffer(const Ref<Image> &p_img, bool p_grayscale); #endif // IMAGE_SAVER_TINYEXR_H |