Multi-platform .NET bindings to the Ultralight project.
at master 594 B view raw
1using CommandLine; 2 3internal class Options { 4 5 [Option('a', "api", Required = false, HelpText = "Set GL API to OpenGL (gl) or OpenGL ES (gles).")] 6 public string? GlApi { get; set; } 7 8 [Option('c', "ctx", Required = false, HelpText = "Set context to Native (n) or EGL (egl).")] 9 public string? Context { get; set; } 10 11 [Option('m', "maj", Required = false, HelpText = "Set major version OpenGL to request.")] 12 public int? GlMajorVersion { get; set; } 13 14 [Option('n', "min", Required = false, HelpText = "Set minor version OpenGL to request.")] 15 public int? GlMinorVersion { get; set; } 16 17}