Module sdl2::video [] [src]

Modules

gl_attr

OpenGL context getters and setters

Structs

DisplayMode
GLContext
Window
WindowBuilder

The type that allows you to build windows.

WindowProperties

Contains accessors to a Window's properties.

WindowPropertiesGetters

Contains getters to a Window's properties.

Enums

FullscreenType
GLProfile
WindowPos

Functions

disable_screen_saver
enable_screen_saver
get_closest_display_mode
get_current_display_mode
get_current_video_driver
get_desktop_display_mode
get_display_bounds
get_display_mode
get_display_name
get_num_display_modes
get_num_video_displays
get_num_video_drivers
get_video_driver
gl_extension_supported
gl_get_current_window_id
gl_get_proc_address
gl_get_swap_interval
gl_load_library
gl_release_current_context

Releases the thread's current OpenGL context, i.e. sets the current OpenGL context to nothing.

gl_set_swap_interval
gl_unload_library
is_screen_saver_enabled
video_init
video_quit