diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-28 13:03:02 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-28 13:10:37 +0300 |
commit | 3b9e16a4f7b8deca23ba8d2a02ef9182eb9d6bb4 (patch) | |
tree | 210485641412e442d0d6fee197b022b04b7fdeda /source/blender/simulation/intern/particle_function.hh | |
parent | c8e45c3fe96ebbb4c75df568cc72a05421921a7e (diff) |
Particles: initial support for the Time input node
Diffstat (limited to 'source/blender/simulation/intern/particle_function.hh')
-rw-r--r-- | source/blender/simulation/intern/particle_function.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/simulation/intern/particle_function.hh b/source/blender/simulation/intern/particle_function.hh index abe0aae8522..c9b35640b47 100644 --- a/source/blender/simulation/intern/particle_function.hh +++ b/source/blender/simulation/intern/particle_function.hh @@ -26,10 +26,15 @@ namespace blender::sim { +struct ParticleFunctionInputContext { + const SimulationSolveContext &solve_context; + const ParticleChunkContext &particles; +}; + class ParticleFunctionInput { public: virtual ~ParticleFunctionInput() = default; - virtual void add_input(fn::AttributesRef attributes, + virtual void add_input(ParticleFunctionInputContext &context, fn::MFParamsBuilder ¶ms, ResourceCollector &resources) const = 0; }; |