pub unsafe extern "C" fn SDL_Vulkan_GetDrawableSize(
    window: *mut SDL_Window,
    w: *mut c_int,
    h: *mut c_int
)
Expand description

Get the size of the window’s underlying drawable dimensions in pixels.

This may differ from SDL_GetWindowSize() if we’re rendering to a high-DPI drawable, i.e. the window was created with SDL_WINDOW_ALLOW_HIGHDPI on a platform with high-DPI support (Apple calls this “Retina”), and not disabled by the SDL_HINT_VIDEO_HIGHDPI_DISABLED hint.

\param window an SDL_Window for which the size is to be queried \param w Pointer to the variable to write the width to or NULL \param h Pointer to the variable to write the height to or NULL

\since This function is available since SDL 2.0.6.

\sa SDL_GetWindowSize \sa SDL_CreateWindow \sa SDL_Vulkan_CreateSurface