X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;h=23dcd0cef9cf7b3a21bf143f6204d5c836dc5641;hb=d2d3cb877984b97fafb97254f5005cbf4bcf47a6;hp=413b6f19869430f22b665d690d4d8a67cd0ff50d;hpb=46509f82dcea114b004c53a7f3a9608f2518077f;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index 413b6f1..23dcd0c 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -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;