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

◆ from() [5/5]

ChimeraBuilder & MayaFlux::Kriya::ChimeraBuilder::from ( std::shared_ptr< Kakshya::TextureCollection >  collection,
double  frame_rate = 0.0 
)

Feed the layer from a texture collection that is being appended to.

Read like a ring, by lag or speed, entirely on the GPU, up to its newest append. smooth() does not apply.

Parameters
frame_rateAppends per second, which turns seconds into layers; zero takes one append per frame.

Definition at line 371 of file Chimera.cpp.

372{
373 auto& target = current();
374 target.image.reset();
375 target.picture.reset();
376 target.ring.reset();
377 target.piped = false;
378 target.collection = std::move(collection);
379 target.collection_rate = frame_rate;
380 return *this;
381}
Chimera::Layer & current()
Definition Chimera.cpp:346

References current().

+ Here is the call graph for this function: