sdl2-2.1.2.1: Both high- and low-level bindings to the SDL library (version 2.0.2).

Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Video

Contents

Synopsis

Display and Window Management

hideWindow :: MonadIO m => Window -> m () Source #

setWindowData :: MonadIO m => Window -> CString -> Ptr () -> m (Ptr ()) Source #

setWindowSize :: MonadIO m => Window -> CInt -> CInt -> m () Source #

showWindow :: MonadIO m => Window -> m () Source #

videoQuit :: MonadIO m => m () Source #

2D Accelerated Rendering

lockTexture :: MonadIO m => Texture -> Ptr Rect -> Ptr (Ptr ()) -> Ptr CInt -> m CInt Source #

Pixel Formats and Conversion Routines

Rectangle Functions

unionRect :: MonadIO m => Ptr Rect -> Ptr Rect -> Ptr Rect -> m () Source #

Surface Creation and Simple Drawing

convertPixels :: MonadIO m => CInt -> CInt -> Word32 -> Ptr () -> CInt -> Word32 -> Ptr () -> CInt -> m CInt Source #

Platform-specific Window Management

Clipboard Handling