Window.sizeInPixels

Wraps SDL_GetWindowSizeInPixels (from SDL 2.26) which gets the actual size of the window in the screen in pixels

class Window
const @property @trusted
static if(sdlSupport >= SDLSupport.v2_26)
uint[2]
sizeInPixels
()

Return Value

Type: uint[2]

actual size of the window in the screen in pixels

Meta