/// <summary>Initializes the struct with default values.</summary>
        public static RenderWindowDesc Default()
        {
            RenderWindowDesc value = new RenderWindowDesc();

            value.videoMode        = VideoMode.Default();
            value.fullscreen       = false;
            value.vsync            = false;
            value.vsyncInterval    = 1;
            value.hidden           = false;
            value.depthBuffer      = true;
            value.multisampleCount = 0;
            value.multisampleHint  = "";
            value.gamma            = false;
            value.left             = -1;
            value.top           = -1;
            value.title         = "";
            value.showTitleBar  = true;
            value.showBorder    = true;
            value.allowResize   = true;
            value.toolWindow    = false;
            value.modal         = false;
            value.hideUntilSwap = false;

            return(value);
        }
示例#2
0
        /// <summary>Initializes the struct with default values.</summary>
        public static StartUpDesc Default()
        {
            StartUpDesc value = new StartUpDesc();

            value.renderAPI         = "";
            value.renderer          = "";
            value.physics           = "";
            value.audio             = "";
            value.input             = "";
            value.physicsCooking    = true;
            value.primaryWindowDesc = RenderWindowDesc.Default();
            value.importers         = null;

            return(value);
        }