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

◆ store_reference()

void MayaFlux::Nodes::Network::FieldOperator::store_reference ( const void *  data,
size_t  count 
)
private

Definition at line 17 of file FieldOperator.cpp.

18{
19 m_count = count;
20 size_t total = count * k_stride;
21 m_reference_data.resize(total);
22 m_vertex_data.resize(total);
23 std::memcpy(m_reference_data.data(), data, total);
24 std::memcpy(m_vertex_data.data(), data, total);
25 m_dirty = true;
26}
Eigen::Index count

References count, k_stride, m_count, m_dirty, m_reference_data, and m_vertex_data.

Referenced by initialize(), initialize(), and initialize().

+ Here is the caller graph for this function: