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

◆ read_image() [2/2]

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

Definition at line 157 of file Creator.hpp.

158 {
159 auto buffer = load_image_buffer(filepath);
160 MF_LIVE_EXPOSE_AUTO(buffer);
161 return buffer;
162 }
#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:131

References MF_LIVE_EXPOSE_AUTO.