Window.drawableGLSize

Wraps SDL_GL_GetDrawableSize (from SDL 2.0.1) which gets the drawable size of the window in OpenGL in pixels

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

Return Value

Type: uint[2]

size of the window in OpenGL in pixels

Meta