Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFullscreen ¶
Fullscreen checks if the current window has the WINDOW_FULLSCREEN or WINDOW_FULLSCREEN_DESKTOP flag set.
func RendererToImage ¶
RendererToImage converts a *sdl.Renderer to an *image.RGBA image
func Screenshot ¶
Screenshot saves the contents of the given *sdl.Renderer to a PNG file. Set overwrite to true for overwriting any existing files.
func ToggleFullscreen ¶
ToggleFullscreen switches to fullscreen, or back. Returns true if the mode has been switched to fullscreen. Also toggles the visibility of the mouse cursor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.