]> git.localhorst.tv Git - blank.git/blobdiff - src/app.hpp
added Galois LFSR PRNG
[blank.git] / src / app.hpp
index 413b6f19869430f22b665d690d4d8a67cd0ff50d..23dcd0cef9cf7b3a21bf143f6204d5c836dc5641 100644 (file)
@@ -14,7 +14,16 @@ namespace blank {
 class Application {
 
 public:
-       Application();
+       struct Config {
+               bool vsync = true;
+               bool doublebuf = true;
+               int multisampling = 1;
+
+               Interface::Config interface = Interface::Config();
+               World::Config world = World::Config();
+       };
+
+       explicit Application(const Config &);
 
        Application(const Application &) = delete;
        Application &operator =(const Application &) = delete;