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

◆ read_image() [1/2]

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

Definition at line 175 of file Creator.hpp.

179 {
180 auto buffer = load_image_buffer(filepath, desired_channels, std::move(region));
182 return buffer;
183 }
#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 > load_image_buffer(const std::string &filepath, int desired_channels, std::optional< Kakshya::Region > region)
Definition Creator.cpp:173

References buffer, and MF_LIVE_EXPOSE_AUTO.