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

◆ read_image() [1/2]

auto MayaFlux::Creator::read_image ( ) -> std::shared_ptr<Buffers::TextureBuffer>
inline

Definition at line 164 of file Creator.hpp.

165 {
166 auto buffer = choose_image();
167 if (buffer)
168 MF_LIVE_EXPOSE_AUTO(buffer);
169 return buffer;
170 }
#define MF_LIVE_EXPOSE_AUTO(ptr)
Auto-expose variant that deduces the key prefix from the shared_ptr element type.
std::shared_ptr< Buffers::TextureBuffer > choose_image()
Present a native open-file dialog filtered to image formats and load the chosen file via IOManager::l...
Definition Depot.cpp:144

References MayaFlux::choose_image(), and MF_LIVE_EXPOSE_AUTO.

+ Here is the call graph for this function: