public StoryboardWindow(int width = 640, int height = 480) :
            //opentk >= 4.0.0 NOT WORK
            base(new GameWindowSettings
        {
            IsMultiThreaded = false
        }, new NativeWindowSettings
        {
            API        = ContextAPI.OpenGL,
            APIVersion = new Version(3, 3),
            Flags      = ContextFlags.ForwardCompatible,
            Profile    = ContextProfile.Core,
            Title      = "Esu!StoryboardPlayer",
            Size       = new Vector2i(width, height)
        })
            //opentk < 4.0.0 WORK

            /*base(width, height, new GraphicsMode(ColorFormat.Empty, 32), "Esu!StoryboardPlayer"
             * , GameWindowFlags.FixedWindow, DisplayDevice.Default, 3, 3, GraphicsContextFlags.ForwardCompatible)*/
        {
            //VSync = VSyncMode.Off;
            CurrentWindow = this;
            RenderKernel.Init();

            ApplyBorderless(PlayerSetting.EnableBorderless);
            SwitchFullscreen(PlayerSetting.EnableFullScreen);
        }
        protected override async Task OnAfterRenderAsync(bool firstRender)
        {
            glContext = await RefCanvas.CreateWebGLAsync(new WebGLContextAttributes
            {
                PowerPreference = WebGLContextAttributes.POWER_PREFERENCE_HIGH_PERFORMANCE
            });

            RenderKernel.Init(glContext, 800, 600);
        }