|
MayaFlux 0.4.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 | Vertex attribute to drive (POSITION, COLOR, NORMAL, 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 MayaFlux::Nodes::Network::ABSOLUTE, 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: