For in-engine processing allow saving openexr to a buffer.

This commit is contained in:
K. S. Ernest (iFire) Lee 2022-06-19 18:55:47 -07:00
parent d1dac8427a
commit ce42ee790c
5 changed files with 36 additions and 11 deletions

View file

@ -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