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

◆ set_time_step()

void MayaFlux::Buffers::DiffuseProcessor::set_time_step ( float  dt)

Set the integration step.

Parameters
dtSeconds per step. Takes effect next cycle.

Definition at line 60 of file DiffuseProcessor.cpp.

61{
62 m_time_step = dt;
63 if (get_volume()) {
65 }
66}
void write_coefficient()
Write the product of rate and time step into word seven.
const std::shared_ptr< VolumeGridBuffer > & get_volume() const
The attached volume, or null if attachment failed validation.

References MayaFlux::Buffers::VolumeFieldProcessor::get_volume(), m_time_step, and write_coefficient().

+ Here is the call graph for this function: