mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add 'debug.enable-experimental' setting & add experimental vec3, vec2 optimization
This commit is contained in:
parent
abc937769d
commit
79bb61bbbe
4 changed files with 221 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ SettingsHandler::SettingsHandler(EngineSettings& settings) {
|
|||
builder.section("debug");
|
||||
builder.add("generator-test-mode", &settings.debug.generatorTestMode);
|
||||
builder.add("do-write-lights", &settings.debug.doWriteLights);
|
||||
builder.add("enable-experimental", &settings.debug.enableExperimental);
|
||||
}
|
||||
|
||||
dv::value SettingsHandler::getValue(const std::string& name) const {
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ struct DebugSettings {
|
|||
FlagSetting generatorTestMode {false};
|
||||
/// @brief Write lights cache
|
||||
FlagSetting doWriteLights {true};
|
||||
/// @brief Enable experimental optimizations and features
|
||||
FlagSetting enableExperimental {false};
|
||||
};
|
||||
|
||||
struct UiSettings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue