aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/lodmod/LODMod.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/LODMod.java b/src/main/java/makamys/lodmod/LODMod.java
index 4812b65..30b708e 100644
--- a/src/main/java/makamys/lodmod/LODMod.java
+++ b/src/main/java/makamys/lodmod/LODMod.java
@@ -63,6 +63,8 @@ public class LODMod
public static boolean optimizeChunkMeshes;
public static int maxMeshesPerFrame;
public static int sortFrequency;
+ public static int gcRate;
+ public static int VRAMSize;
private File configFile;
@@ -109,6 +111,8 @@ public class LODMod
saveMeshes = config.getBoolean("saveMeshes", "render", false, "");
maxMeshesPerFrame = config.getInt("maxMeshesPerFrame", "render", -1, -1, Integer.MAX_VALUE, "");
sortFrequency = config.getInt("sortFrequency", "render", 1, 1, Integer.MAX_VALUE, "");
+ gcRate = config.getInt("gcRate", "render", 1, 1, Integer.MAX_VALUE, "Maximum number of meshes to relocate each frame.");
+ VRAMSize = config.getInt("VRAMSize", "render", 1, 1, Integer.MAX_VALUE, "VRAM buffer size.");
if(config.hasChanged()) {
config.save();