{
	"engine": {
		"scenes": {
			"start": "StartMenu",
			"matrix": { "reverseInfinite": true },
			"meshes": { "interleaved": false },
			"lights": { "enabled": false,
				"useLightmaps": true,
				"max": 1
			},
			"textures": {
				"max": {
					"2D": 128,
					"cube": 1,
					"3D": 1
				}
			}
		},
		"graph": {
			"initial buffer elements": 128,
			"global storage": false
		},
		"ext": {
			"opengl": {
				"validation": { "enabled": true },
				"framebuffer": { "size": 1, "msaa": 1 },
				"pipelines": {
					"culling": true
				},
				"formats": {
					"depth": "D32_SFLOAT",
					"color": "R8G8B8A8_UNORM",
					"normal": "R16G16B16A16_SFLOAT",
					"position": "R16G16B16A16_SFLOAT"
				},
				"features": [],
				"extensions": {
					"instance": [],
					"device": []
				}
			},
			"lua": {
				"enabled": true,
				"main": "/main.lua",
				"modules": {
					"json": "/json.lua"
				}
			},
			"json": {
				"encoding": "msgpack",
				"compression": "gz"
			},
			"imgui": {
				"enabled": false
			},
			"reactphysics": {
				"timescale": 0.03333333333,
				"interpolate": false,
				"gravity": {
					"mode": "default",
					"constant": 6.67408e-11
				},
				"debug draw": {
					"enabled": false,
					"line width": 8,
					"layer": "",
					"rate": 0.0125
				}
			}
		},
		"audio": {
			"mute": true,
			"buffers": {
				"size": 24576,
				"count": 6
			},
			"volumes": {
				"sfx": 1.0,
				"bgm": 1.0,
				"voice": 1.0
			},
			"streams by default": true
		},
		"memory pool": {
			"enabled": true, // probably should be enabled
			"subPools": false,
			"alignment": 4,
			"override": false,
			"size": "1024 KiB",
			"pools": {
				"entity": "128 KiB",
				"userdata": "128 KiB",
				"component": "128 KiB"
			}
		},
		"render modes": { "gui": true, "deferred": true },
		"limiters": {
			"deltaTime": 5,
			"framerate": 60
		},
		"threads": {
			"workers" : 1,
			"frame limiter": 15 // "auto"
		},
		"debug": {
			"framerate": {
				"print": true,
				"every": 2
			},
			"garbage collection": {
				"enabled": true,
				"mode": 1,
				"rate": 4,
				"announce": true
			},
			"entity": {
				"delete children on destroy": false,
				"delete components on destroy": false
			},
			"userdata": {
				"auto destruct": true,
				"auto validate": false
			},
			"loader": {
				"assert": true
			},
			"hooks": {
				"defer lazy calls": true
			},
			"scene": {
				"print task calls": false
			}
		}
	},
	"window" : {
		"terminal" :  {
			"ncurses" : false,
			"visible" : false
		},
		"keyboard" :  {
			"repeat" : false
		},
		"mouse" :  {
			"visible" : true,
			"center" : false,
			"sensitivity": [ 2, 2 ],
			"smoothing": [ 4, 4 ]
		},
		"mode" : "windowed", // fullscreen, borderless, windowed
		"icon" : "./data/textures/icon.png",
		"size" :  [ 640, 480 ],
		"title" : "Grimgram",
		"visible" : true
	}
}