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

◆ VolumeWriteHook

using MayaFlux::IO::VolumeWriteHook = typedef std::function<bool( Kakshya::VolumeData&&, const std::string&, const VolumeWriteOptions&)>

Where a captured frame goes.

Takes ownership so an asynchronous writer can move the data onto a worker. Defaults to a synchronous save_volume on the capturing thread. A caller with a task pool supplies its own; nothing here needs to know such a pool exists.

Definition at line 130 of file VolumeTransfer.hpp.