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

◆ read_image()

auto MayaFlux::Creator::read_image ( const std::string &  filepath) -> std::shared_ptr<Buffers::TextureBuffer>
inline

Definition at line 150 of file Creator.hpp.

151 {
152 auto buffer = load_image_buffer(filepath);
153 MF_LIVE_EXPOSE_AUTO(buffer);
154 return buffer;
155 }
#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 > load_image_buffer(const std::string &filepath)
Definition Creator.cpp:129

References MF_LIVE_EXPOSE_AUTO.