@kmamal/sdl 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/types/index.d.ts +8 -0
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -256,6 +256,12 @@ export namespace Sdl {
|
|
|
256
256
|
readonly borderless: boolean
|
|
257
257
|
setBorderless (borderless: boolean): void
|
|
258
258
|
|
|
259
|
+
readonly accelerated: boolean
|
|
260
|
+
setAccelerated (accelerated: boolean): void
|
|
261
|
+
|
|
262
|
+
readonly vsync: boolean
|
|
263
|
+
setVsync (vsync: boolean): void
|
|
264
|
+
|
|
259
265
|
readonly native: unknown
|
|
260
266
|
|
|
261
267
|
readonly maximized: boolean
|
|
@@ -297,6 +303,8 @@ export namespace Sdl {
|
|
|
297
303
|
fullscreen?: boolean
|
|
298
304
|
resizable?: boolean
|
|
299
305
|
borderless?: boolean
|
|
306
|
+
accelerated?: boolean
|
|
307
|
+
vsync?: boolean
|
|
300
308
|
opengl?: boolean
|
|
301
309
|
}): Window
|
|
302
310
|
}
|