SDL.Video – sdl2 Reference Manual
Video
Description:
public
namespace
Video
Namespace:
SDL.Video
Package:
sdl2
Content:
Classes:
Palette
PixelFormat
Renderer
Surface
Texture
Window
Structs:
BlitMap
Color
Display
DisplayMode
Point
Rect
RendererInfo
SysWMInfo
-
Remember to always check the
SysWMType
before accessing any field
SysWMmsg
Enums:
Alpha
ArrayOrder
BitmapOrder
BlendMode
HitTestResult
PackedLayout
PackedOrder
PixelRAWFormat
PixelType
RendererFlags
RendererFlip
SysWMType
TextureAccess
TextureModulate
WindowFlags
Delegates:
public
delegate
int
BlitFunc
(
Surface
src,
Rect
? srcrect,
Surface
dst,
Rect
? dstrect)
public
delegate
HitTestResult
HitTestFunc
(
Window
window,
Point
? area)
Methods:
public
void
disable_screensaver
()
public
void
enable_screensaver
()
public
unowned
string
?
get_current_driver
()
public
unowned
string
?
get_driver
(
int
driver_index)
public
int
init
(
string
driver_name)
public
bool
is_screensaver_enabled
()
public
int
num_displays
()
public
int
num_drivers
()
public
void
quit
()
2022 vala-language.org