WindowOptions.h 352 B

123456789101112131415161718
  1. #ifndef WINDOWOPTIONS_H
  2. #define WINDOWOPTIONS_H
  3. #include "utils/Size.h"
  4. struct WindowOptions final {
  5. int majorVersion;
  6. int minorVersion;
  7. const Size& size;
  8. bool fullscreen;
  9. bool es;
  10. bool vsync;
  11. const char* name;
  12. WindowOptions(int majorVersion, int minorVersion, const Size& size, bool es, const char* name);
  13. };
  14. #endif