Per-algorithm saved settings (split ratio, master count, max windows) More...
#include <phosphor-tile-engine/include/PhosphorTileEngine/AutotileConfig.h>
Public Member Functions | |
| bool | operator== (const AlgorithmSettings &other) const |
Public Attributes | |
| qreal | splitRatio = PhosphorTiles::AutotileDefaults::DefaultSplitRatio |
| int | masterCount = PhosphorTiles::AutotileDefaults::DefaultMasterCount |
| int | maxWindows = PhosphorTiles::AutotileDefaults::DefaultMaxWindows |
| QVariantMap | customParams |
| Algorithm-declared custom parameter values. | |
Per-algorithm saved settings (split ratio, master count, max windows)
Saved when switching away from an algorithm, restored when switching back, so each algorithm keeps its own tuning.
|
inline |
| QVariantMap PhosphorTileEngine::AlgorithmSettings::customParams |
Algorithm-declared custom parameter values.
| int PhosphorTileEngine::AlgorithmSettings::masterCount = PhosphorTiles::AutotileDefaults::DefaultMasterCount |
| int PhosphorTileEngine::AlgorithmSettings::maxWindows = PhosphorTiles::AutotileDefaults::DefaultMaxWindows |
| qreal PhosphorTileEngine::AlgorithmSettings::splitRatio = PhosphorTiles::AutotileDefaults::DefaultSplitRatio |