32 bool saveInHighPrecision =
false,
33 std::string_view redChannelName =
"R",
34 std::string_view greenChannelName =
"G",
35 std::string_view blueChannelName =
"B",
36 std::string_view alphaChannelName =
"",
47 std::string_view redChannelName =
"R",
48 std::string_view greenChannelName =
"G",
49 std::string_view blueChannelName =
"B",
50 std::string_view alphaChannelName =
"",
54 static void saveStandaloneImageData(
57 bool saveInHighPrecision,
58 std::string_view redChannelName,
59 std::string_view greenChannelName,
60 std::string_view blueChannelName,
61 std::string_view alphaChannelName,
An auto-resizable byte storage.
Definition ByteBuffer.h:18
Definition ExrFileWriter.h:14
ExrFileWriter()
Create default writer with limited functionalities. Constructed without a path, the file writer may h...
Definition ExrFileWriter.cpp:17
void saveToFilesystem(const HdrRgbFrame &frame, bool saveInHighPrecision=false, std::string_view redChannelName="R", std::string_view greenChannelName="G", std::string_view blueChannelName="B", std::string_view alphaChannelName="", HdrComponent alphaValue=1)
Save an EXR file to the filesystem. A channel will be ignored (not saved) if its name is empty.
Definition ExrFileWriter.cpp:35
void save(const HdrRgbFrame &frame)
Definition ExrFileWriter.cpp:25
void saveHighPrecision(const HdrRgbFrame &frame)
Definition ExrFileWriter.cpp:30
void saveToMemory(const HdrRgbFrame &frame, ByteBuffer &buffer, std::string_view redChannelName="R", std::string_view greenChannelName="G", std::string_view blueChannelName="B", std::string_view alphaChannelName="", HdrComponent alphaValue=1)
Save an EXR file to memory instead of filesystem. A channel will be ignored (not saved) if its name i...
Definition ExrFileWriter.cpp:57
General path representation. Does not check whether the target actually exists (e....
Definition Path.h:21
The root for all renderer implementations.
Definition EEngineProject.h:6
float32 HdrComponent
Definition frame_fwd.h:14