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

◆ unbind()

void MayaFlux::Nodes::Network::GpuFieldOperator::unbind ( FieldTarget  target)

Clear the given targets.

Removes each bit in the mask from every binding that carries it. A binding left with no targets is dropped; one that still drives another target survives. Cluster scope plays no part in the match: unbind(t) removes every binding driving t, scoped or not.

Definition at line 398 of file GpuFieldOperator.cpp.

399{
400 for (auto& b : m_bindings)
401 b.targets &= ~target;
402
403 std::erase_if(m_bindings,
404 [](const Binding& b) { return !any_flag(b.targets); });
405
406 invalidate();
407}
size_t b
void invalidate()
Clear the cached spec and bump revision().

References b, invalidate(), and m_bindings.

+ Here is the call graph for this function: