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

◆ register_with_registry()

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

Register this writer with the VolumeWriterRegistry.

Called from engine/subsystem init alongside the image writers. Idempotent.

Definition at line 179 of file VDBWriter.cpp.

180{
181 auto& reg = VolumeWriterRegistry::instance();
182 reg.register_writer(
183 { "vdb" },
184 []() -> std::unique_ptr<VolumeWriter> {
185 return std::make_unique<VDBWriter>();
186 });
187
189 "VDBWriter registered for: vdb");
190}
#define MF_INFO(comp, ctx,...)
static VolumeWriterRegistry & instance()
@ Init
Engine/subsystem initialization.
@ IO
Networking, file handling, streaming.

References MayaFlux::Journal::Init, MayaFlux::IO::VolumeWriterRegistry::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: