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

◆ write_tail()

void MayaFlux::Buffers::BuoyancyProcessor::write_tail ( )
private

Write every parameter past the shared prefix.

Definition at line 79 of file BuoyancyProcessor.cpp.

80{
82
83 const BuoyancyTail tail {
84 .direction_x = m_direction.x,
85 .direction_y = m_direction.y,
86 .direction_z = m_direction.z,
87 .ambient = m_ambient,
88 .temperature_gain = m_temperature_gain,
89 .density_gain = m_density_gain,
90 .pad1 = 0.0F,
91 .pad2 = 0.0F,
92 };
93
94 write_param_tail(k_tail_offset, &tail, sizeof(tail));
95}
void write_param_tail(size_t offset, const void *data, size_t size)
Write subclass parameters past the shared prefix.
void write_lattice_word7(float value)
Write word seven of the parameter prefix, at byte offset 28.

References m_ambient, m_density_gain, m_direction, m_temperature_gain, m_time_step, MayaFlux::Buffers::VolumeFieldProcessor::write_lattice_word7(), and MayaFlux::Buffers::VolumeFieldProcessor::write_param_tail().

Referenced by on_volume_ready(), set_ambient(), set_density_gain(), set_direction(), set_temperature_gain(), and set_time_step().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: