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

◆ operator()() [4/5]

auto MayaFlux::Mint::operator() ( const StructureConfig::Model &  config) -> std::shared_ptr<Buffers::MeshNetworkBuffer>
inline

Mint a model and its backing MeshNetwork.

Returns
MeshNetworkBuffer whose get_network() returns the supplied or created network.

Definition at line 56 of file Mint.hpp.

58 {
59 auto structure = build(config);
60 if (structure) {
61 MF_LIVE_EXPOSE_AUTO(structure);
62 }
63 return structure;
64 }
#define MF_LIVE_EXPOSE_AUTO(ptr)
Auto-expose variant that deduces the key prefix from the shared_ptr element type.
std::shared_ptr< Buffers::MeshBuffer > build(const StructureConfig::Object &config)
Definition Mint.cpp:337

References MF_LIVE_EXPOSE_AUTO.