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

◆ read_image() [2/2]

auto MayaFlux::Creator::read_image ( int  desired_channels = 4,
std::optional< Kakshya::Region >  region = std::nullopt 
) -> std::shared_ptr<Buffers::TextureBuffer>
inline

Definition at line 185 of file Creator.hpp.

188 {
189 auto buffer = choose_image(desired_channels, std::move(region));
190 if (buffer)
192 return buffer;
193 }
#define MF_LIVE_EXPOSE_AUTO(ptr)
Auto-expose variant that deduces the key prefix from the shared_ptr element type.
std::shared_ptr< NetworkGeometryBuffer > buffer
std::shared_ptr< Buffers::TextureBuffer > choose_image(int desired_channels, std::optional< Kakshya::Region > region)
Present a native open-file dialog filtered to image formats and load the chosen file via IOManager::l...
Definition Depot.cpp:228

References buffer, MayaFlux::choose_image(), and MF_LIVE_EXPOSE_AUTO.

+ Here is the call graph for this function: