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

◆ set_parameter()

void MayaFlux::Nodes::Network::WalkOperator::set_parameter ( std::string_view  param,
double  value 
)
overridevirtual

Set operator parameter.

Implements MayaFlux::Nodes::Network::NetworkOperator.

Definition at line 89 of file WalkOperator.cpp.

90{
91 if (param == "current") {
92 const auto index = static_cast<size_t>(value);
93 if (index != m_current.load(std::memory_order_relaxed)) {
94 jump(index);
95 }
96 }
97}
glm::vec3 value
uint32_t index
Definition VKDevice.cpp:122
void jump(size_t index)
Make a slot the active one.

References index, jump(), m_current, and value.

+ Here is the call graph for this function: