WindowOptions.h 383 B

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