MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ register_with_registry()

void MayaFlux::IO::STBImageWriter::register_with_registry ( )
static

Register this writer with the ImageWriterRegistry.

Called from engine/subsystem init. Idempotent.

Definition at line 63 of file STBImageWriter.cpp.

64{
66 reg.register_writer(
67 { "png", "jpg", "jpeg", "bmp", "tga", "hdr" },
68 []() -> std::unique_ptr<ImageWriter> {
69 return std::make_unique<STBImageWriter>();
70 });
71
73 "STBImageWriter registered for: png, jpg, jpeg, bmp, tga, hdr");
74}
#define MF_INFO(comp, ctx,...)
static ImageWriterRegistry & instance()
@ Init
Engine/subsystem initialization.
@ IO
Networking, file handling, streaming.

References MayaFlux::Journal::Init, MayaFlux::IO::ImageWriterRegistry::instance(), MayaFlux::Journal::IO, and MF_INFO.

Referenced by MayaFlux::IO::IOManager::IOManager().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: