Allow maximum number of particles to be configured.

This commit is contained in:
2018-04-09 16:43:40 +02:00
parent 1c942a7de7
commit 0145391450
4 changed files with 29 additions and 2 deletions

View File

@@ -6,6 +6,20 @@
#include "LayerInfo.hpp"
namespace fmri {
/**
* Maximum number of interactions per layer.
*
* Controls the number of interactions per layer for performance
* reasons. Only the top INTERACTION_LIMIT interactions are shown
* to limit the amount of computations needed for animation.
*
* Note that this number currently applies only to InnerProduct
* type layers.
*
* This value is set from the options parser.
*/
extern std::size_t INTERACTION_LIMIT;
/**
* Generate a static visualisation of a layer state.
*