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

◆ get_data_at()

void * MayaFlux::Nodes::Network::FieldOperator::get_data_at ( size_t  global_index)
overrideprotectedvirtual

Get mutable access to point at global index.

Returns
Pointer to vertex data, or nullptr if index invalid

Subclasses must implement to provide per-point access

Implements MayaFlux::Nodes::Network::GraphicsOperator.

Definition at line 361 of file FieldOperator.cpp.

362{
363 if (global_index >= m_count)
364 return nullptr;
365 return m_vertex_data.data() + global_index * k_stride;
366}

References k_stride, m_count, and m_vertex_data.