|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::MeshFieldOperator::bind | ( | uint32_t | slot_index, |
| FieldTarget | target, | ||
| Kinesis::VectorField | field | ||
| ) |
Bind a VectorField to a slot.
| slot_index | Target slot index. |
| target | Mask of vertex attributes to drive. Any combination of POSITION, COLOR, NORMAL and TANGENT. |
| field | VectorField: glm::vec3 -> glm::vec3. |
Creates a FieldOperator for the slot if one does not yet exist. The FieldOperator is initialised from the slot's current vertex data. Subsequent binds on the same slot append fields to the existing operator.
Definition at line 41 of file MeshFieldOperator.cpp.
References get_or_create(), m_field_ops, MayaFlux::Nodes::Network::MeshOperator::m_slots, MF_ERROR, MF_WARN, MayaFlux::Journal::NodeProcessing, and MayaFlux::Journal::Nodes.
Here is the call graph for this function: