| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Video
Description
SDL's video subsystem is largely interested in abstracting window management from the underlying operating system. You can create windows, manage them in various ways, set them fullscreen, and get events when interesting things happen with them, such as the mouse or keyboard interacting with a window.
The video subsystem is also interested in abstracting away some platform-specific differences in OpenGL: context creation, swapping buffers, etc. This may be crucial to your app, but also you are not required to use OpenGL at all. In fact, SDL can provide rendering to those windows as well, either with an easy-to-use 2D API or with a more-powerful GPU API. Of course, it can simply get out of your way and give you the window handles you need to use Vulkan, Direct3D, Metal, or whatever else you like directly, too.
The video subsystem covers a lot of functionality, out of necessity, so it is worth perusing the list of functions just to see what's available, but most apps can get by with simply creating a window and listening for events, so start with SDL_CreateWindow() and SDL_PollEvent(). This is a unique ID for a display for the time it is connected to the system, and is never reused for the lifetime of the application.
If the display is disconnected and reconnected, it will get a new ID.
The value 0 is an invalid ID.
Since: 3.2.0
Synopsis
- newtype SDL_DisplayID = SDL_DisplayID {}
- newtype SDL_WindowID = SDL_WindowID {}
- sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER :: ByteString
- newtype SDL_SystemTheme = SDL_SystemTheme {}
- pattern SDL_SYSTEM_THEME_UNKNOWN :: SDL_SystemTheme
- pattern SDL_SYSTEM_THEME_LIGHT :: SDL_SystemTheme
- pattern SDL_SYSTEM_THEME_DARK :: SDL_SystemTheme
- data SDL_DisplayModeData
- data SDL_DisplayMode = SDL_DisplayMode {}
- newtype SDL_DisplayOrientation = SDL_DisplayOrientation {}
- pattern SDL_ORIENTATION_UNKNOWN :: SDL_DisplayOrientation
- pattern SDL_ORIENTATION_LANDSCAPE :: SDL_DisplayOrientation
- pattern SDL_ORIENTATION_LANDSCAPE_FLIPPED :: SDL_DisplayOrientation
- pattern SDL_ORIENTATION_PORTRAIT :: SDL_DisplayOrientation
- pattern SDL_ORIENTATION_PORTRAIT_FLIPPED :: SDL_DisplayOrientation
- data SDL_Window
- newtype SDL_WindowFlags = SDL_WindowFlags {}
- sDL_WINDOWPOS_UNDEFINED_MASK :: CUInt
- sDL_WINDOWPOS_UNDEFINED_DISPLAY :: Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
- sDL_WINDOWPOS_UNDEFINED :: CUInt
- sDL_WINDOWPOS_ISUNDEFINED :: (RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) => a0 -> CInt
- sDL_WINDOWPOS_CENTERED_MASK :: CUInt
- sDL_WINDOWPOS_CENTERED_DISPLAY :: Bitwise CUInt a0 => a0 -> BitsRes CUInt a0
- sDL_WINDOWPOS_CENTERED :: CUInt
- sDL_WINDOWPOS_ISCENTERED :: (RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) => a0 -> CInt
- newtype SDL_FlashOperation = SDL_FlashOperation {}
- pattern SDL_FLASH_CANCEL :: SDL_FlashOperation
- pattern SDL_FLASH_BRIEFLY :: SDL_FlashOperation
- pattern SDL_FLASH_UNTIL_FOCUSED :: SDL_FlashOperation
- newtype SDL_ProgressState = SDL_ProgressState {}
- pattern SDL_PROGRESS_STATE_INVALID :: SDL_ProgressState
- pattern SDL_PROGRESS_STATE_NONE :: SDL_ProgressState
- pattern SDL_PROGRESS_STATE_INDETERMINATE :: SDL_ProgressState
- pattern SDL_PROGRESS_STATE_NORMAL :: SDL_ProgressState
- pattern SDL_PROGRESS_STATE_PAUSED :: SDL_ProgressState
- pattern SDL_PROGRESS_STATE_ERROR :: SDL_ProgressState
- data SDL_GLContextState
- newtype SDL_GLContext = SDL_GLContext {}
- newtype SDL_EGLDisplay = SDL_EGLDisplay {}
- newtype SDL_EGLConfig = SDL_EGLConfig {}
- newtype SDL_EGLSurface = SDL_EGLSurface {}
- newtype SDL_EGLAttrib = SDL_EGLAttrib {}
- newtype SDL_EGLint = SDL_EGLint {}
- newtype SDL_EGLAttribArrayCallback_Aux = SDL_EGLAttribArrayCallback_Aux {}
- newtype SDL_EGLAttribArrayCallback = SDL_EGLAttribArrayCallback {}
- newtype SDL_EGLIntArrayCallback_Aux = SDL_EGLIntArrayCallback_Aux {
- unwrap :: Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint)
- newtype SDL_EGLIntArrayCallback = SDL_EGLIntArrayCallback {}
- newtype SDL_GLAttr = SDL_GLAttr {}
- pattern SDL_GL_RED_SIZE :: SDL_GLAttr
- pattern SDL_GL_GREEN_SIZE :: SDL_GLAttr
- pattern SDL_GL_BLUE_SIZE :: SDL_GLAttr
- pattern SDL_GL_ALPHA_SIZE :: SDL_GLAttr
- pattern SDL_GL_BUFFER_SIZE :: SDL_GLAttr
- pattern SDL_GL_DOUBLEBUFFER :: SDL_GLAttr
- pattern SDL_GL_DEPTH_SIZE :: SDL_GLAttr
- pattern SDL_GL_STENCIL_SIZE :: SDL_GLAttr
- pattern SDL_GL_ACCUM_RED_SIZE :: SDL_GLAttr
- pattern SDL_GL_ACCUM_GREEN_SIZE :: SDL_GLAttr
- pattern SDL_GL_ACCUM_BLUE_SIZE :: SDL_GLAttr
- pattern SDL_GL_ACCUM_ALPHA_SIZE :: SDL_GLAttr
- pattern SDL_GL_STEREO :: SDL_GLAttr
- pattern SDL_GL_MULTISAMPLEBUFFERS :: SDL_GLAttr
- pattern SDL_GL_MULTISAMPLESAMPLES :: SDL_GLAttr
- pattern SDL_GL_ACCELERATED_VISUAL :: SDL_GLAttr
- pattern SDL_GL_RETAINED_BACKING :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_MAJOR_VERSION :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_MINOR_VERSION :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_FLAGS :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_PROFILE_MASK :: SDL_GLAttr
- pattern SDL_GL_SHARE_WITH_CURRENT_CONTEXT :: SDL_GLAttr
- pattern SDL_GL_FRAMEBUFFER_SRGB_CAPABLE :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_RELEASE_BEHAVIOR :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_RESET_NOTIFICATION :: SDL_GLAttr
- pattern SDL_GL_CONTEXT_NO_ERROR :: SDL_GLAttr
- pattern SDL_GL_FLOATBUFFERS :: SDL_GLAttr
- pattern SDL_GL_EGL_PLATFORM :: SDL_GLAttr
- newtype SDL_GLProfile = SDL_GLProfile {}
- sDL_GL_CONTEXT_PROFILE_CORE :: CInt
- sDL_GL_CONTEXT_PROFILE_COMPATIBILITY :: CInt
- sDL_GL_CONTEXT_PROFILE_ES :: CInt
- newtype SDL_GLContextFlag = SDL_GLContextFlag {}
- sDL_GL_CONTEXT_DEBUG_FLAG :: CInt
- sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: CInt
- sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG :: CInt
- sDL_GL_CONTEXT_RESET_ISOLATION_FLAG :: CInt
- newtype SDL_GLContextReleaseFlag = SDL_GLContextReleaseFlag {}
- sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: CInt
- sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: CInt
- newtype SDL_GLContextResetNotification = SDL_GLContextResetNotification {}
- sDL_GL_CONTEXT_RESET_NO_NOTIFICATION :: CInt
- sDL_GL_CONTEXT_RESET_LOSE_CONTEXT :: CInt
- sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN :: ByteString
- sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER :: ByteString
- sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER :: ByteString
- sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_MENU_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_PARENT_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_TITLE_STRING :: ByteString
- sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_X_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_Y_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER :: ByteString
- sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER :: ByteString
- sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString
- sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString
- sDL_PROP_WINDOW_SHAPE_POINTER :: ByteString
- sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN :: ByteString
- sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT :: ByteString
- sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT :: ByteString
- sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER :: ByteString
- sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER :: ByteString
- sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER :: ByteString
- sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER :: ByteString
- sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER :: ByteString
- sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER :: ByteString
- sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER :: ByteString
- sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER :: ByteString
- sDL_PROP_WINDOW_COCOA_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER :: ByteString
- sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER :: ByteString
- sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER :: ByteString
- sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER :: ByteString
- sDL_PROP_WINDOW_WIN32_HWND_POINTER :: ByteString
- sDL_PROP_WINDOW_WIN32_HDC_POINTER :: ByteString
- sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING :: ByteString
- sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER :: ByteString
- sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER :: ByteString
- sDL_PROP_WINDOW_X11_DISPLAY_POINTER :: ByteString
- sDL_PROP_WINDOW_X11_SCREEN_NUMBER :: ByteString
- sDL_PROP_WINDOW_X11_WINDOW_NUMBER :: ByteString
- sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString
- sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString
- sDL_WINDOW_SURFACE_VSYNC_DISABLED :: CInt
- sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE :: CInt
- newtype SDL_HitTestResult = SDL_HitTestResult {}
- pattern SDL_HITTEST_NORMAL :: SDL_HitTestResult
- pattern SDL_HITTEST_DRAGGABLE :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_TOPLEFT :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_TOP :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_TOPRIGHT :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_RIGHT :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_BOTTOMRIGHT :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_BOTTOM :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_BOTTOMLEFT :: SDL_HitTestResult
- pattern SDL_HITTEST_RESIZE_LEFT :: SDL_HitTestResult
- newtype SDL_HitTest_Aux = SDL_HitTest_Aux {
- unwrap :: Ptr SDL_Window -> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult
- newtype SDL_HitTest = SDL_HitTest {}
Documentation
newtype SDL_DisplayID Source #
- C declaration
SDL_DisplayID, defined atSDL3/SDL_video.h 75:16
Constructors
| SDL_DisplayID | |
Instances
newtype SDL_WindowID Source #
This is a unique ID for a window.
The value 0 is an invalid ID.
- C declaration
SDL_WindowID, defined atSDL3/SDL_video.h 84:16
Since: 3.2.0
Constructors
| SDL_WindowID | |
Instances
| Bits SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # (.|.) :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # xor :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # complement :: SDL_WindowID -> SDL_WindowID # shift :: SDL_WindowID -> Int -> SDL_WindowID # rotate :: SDL_WindowID -> Int -> SDL_WindowID # bit :: Int -> SDL_WindowID # setBit :: SDL_WindowID -> Int -> SDL_WindowID # clearBit :: SDL_WindowID -> Int -> SDL_WindowID # complementBit :: SDL_WindowID -> Int -> SDL_WindowID # testBit :: SDL_WindowID -> Int -> Bool # bitSizeMaybe :: SDL_WindowID -> Maybe Int # bitSize :: SDL_WindowID -> Int # isSigned :: SDL_WindowID -> Bool # shiftL :: SDL_WindowID -> Int -> SDL_WindowID # unsafeShiftL :: SDL_WindowID -> Int -> SDL_WindowID # shiftR :: SDL_WindowID -> Int -> SDL_WindowID # unsafeShiftR :: SDL_WindowID -> Int -> SDL_WindowID # rotateL :: SDL_WindowID -> Int -> SDL_WindowID # rotateR :: SDL_WindowID -> Int -> SDL_WindowID # popCount :: SDL_WindowID -> Int # | |||||
| FiniteBits SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods finiteBitSize :: SDL_WindowID -> Int # countLeadingZeros :: SDL_WindowID -> Int # countTrailingZeros :: SDL_WindowID -> Int # | |||||
| Bounded SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_WindowID -> SDL_WindowID # pred :: SDL_WindowID -> SDL_WindowID # toEnum :: Int -> SDL_WindowID # fromEnum :: SDL_WindowID -> Int # enumFrom :: SDL_WindowID -> [SDL_WindowID] # enumFromThen :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID] # enumFromTo :: SDL_WindowID -> SDL_WindowID -> [SDL_WindowID] # enumFromThenTo :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID -> [SDL_WindowID] # | |||||
| Storable SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_WindowID -> Int # alignment :: SDL_WindowID -> Int # peekElemOff :: Ptr SDL_WindowID -> Int -> IO SDL_WindowID # pokeElemOff :: Ptr SDL_WindowID -> Int -> SDL_WindowID -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_WindowID # pokeByteOff :: Ptr b -> Int -> SDL_WindowID -> IO () # peek :: Ptr SDL_WindowID -> IO SDL_WindowID # poke :: Ptr SDL_WindowID -> SDL_WindowID -> IO () # | |||||
| Generic SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Ix SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_WindowID, SDL_WindowID) -> [SDL_WindowID] # index :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int # unsafeIndex :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Int # inRange :: (SDL_WindowID, SDL_WindowID) -> SDL_WindowID -> Bool # rangeSize :: (SDL_WindowID, SDL_WindowID) -> Int # unsafeRangeSize :: (SDL_WindowID, SDL_WindowID) -> Int # | |||||
| Num SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # (-) :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # (*) :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # negate :: SDL_WindowID -> SDL_WindowID # abs :: SDL_WindowID -> SDL_WindowID # signum :: SDL_WindowID -> SDL_WindowID # fromInteger :: Integer -> SDL_WindowID # | |||||
| Read SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_WindowID # readList :: ReadS [SDL_WindowID] # | |||||
| Integral SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # rem :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # div :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # mod :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # quotRem :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID) # divMod :: SDL_WindowID -> SDL_WindowID -> (SDL_WindowID, SDL_WindowID) # toInteger :: SDL_WindowID -> Integer # | |||||
| Real SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_WindowID -> Rational # | |||||
| Show SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_WindowID -> ShowS # show :: SDL_WindowID -> String # showList :: [SDL_WindowID] -> ShowS # | |||||
| Eq SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Ord SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_WindowID -> SDL_WindowID -> Ordering # (<) :: SDL_WindowID -> SDL_WindowID -> Bool # (<=) :: SDL_WindowID -> SDL_WindowID -> Bool # (>) :: SDL_WindowID -> SDL_WindowID -> Bool # (>=) :: SDL_WindowID -> SDL_WindowID -> Bool # max :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # min :: SDL_WindowID -> SDL_WindowID -> SDL_WindowID # | |||||
| Prim SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_WindowID -> Int# # sizeOf# :: SDL_WindowID -> Int# # alignmentOfType# :: Proxy SDL_WindowID -> Int# # alignment# :: SDL_WindowID -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_WindowID # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_WindowID #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_WindowID -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_WindowID # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_WindowID #) # writeOffAddr# :: Addr# -> Int# -> SDL_WindowID -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_WindowID -> State# s -> State# s # | |||||
| HasFFIType SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_WindowID -> IO SDL_WindowID # | |||||
| StaticSize SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_WindowID -> SDL_WindowID -> IO () # | |||||
| Bitfield SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_WindowID "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_WindowID ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_WindowID -> (ty -> SDL_WindowID, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_WindowID) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_WindowID -> Ptr ty # | |||||
| type Rep SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_WindowID = D1 ('MetaData "SDL_WindowID" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_WindowID" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_WindowID Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_WindowID "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER :: ByteString Source #
The pointer to the global wl_display object used by the Wayland video backend.
Can be set before the video subsystem is initialized to import an external wl_display object from an application or toolkit for use in SDL, or read after initialization to export the wl_display used by the Wayland video backend. Setting this property after the video subsystem has been initialized has no effect, and reading it when the video subsystem is uninitialized will either return the user provided value, if one was set prior to initialization, or NULL. See docs/README-wayland.md for more information.
- C declaration
macro SDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER, literal"SDL.video.wayland.wl_display", defined atSDL3/SDL_video.h 103:9
Since: 3.2.0
newtype SDL_SystemTheme Source #
System theme.
- C declaration
enum SDL_SystemTheme, defined atSDL3/SDL_video.h 110:14
Since: 3.2.0
Constructors
| SDL_SystemTheme | |
Instances
| Storable SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_SystemTheme -> Int # alignment :: SDL_SystemTheme -> Int # peekElemOff :: Ptr SDL_SystemTheme -> Int -> IO SDL_SystemTheme # pokeElemOff :: Ptr SDL_SystemTheme -> Int -> SDL_SystemTheme -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_SystemTheme # pokeByteOff :: Ptr b -> Int -> SDL_SystemTheme -> IO () # peek :: Ptr SDL_SystemTheme -> IO SDL_SystemTheme # poke :: Ptr SDL_SystemTheme -> SDL_SystemTheme -> IO () # | |||||
| Generic SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_SystemTheme -> Rep SDL_SystemTheme x # to :: Rep SDL_SystemTheme x -> SDL_SystemTheme # | |||||
| Read SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_SystemTheme # readList :: ReadS [SDL_SystemTheme] # | |||||
| Show SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_SystemTheme -> ShowS # show :: SDL_SystemTheme -> String # showList :: [SDL_SystemTheme] -> ShowS # | |||||
| Eq SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # (/=) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # | |||||
| Ord SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_SystemTheme -> SDL_SystemTheme -> Ordering # (<) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # (<=) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # (>) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # (>=) :: SDL_SystemTheme -> SDL_SystemTheme -> Bool # max :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme # min :: SDL_SystemTheme -> SDL_SystemTheme -> SDL_SystemTheme # | |||||
| Prim SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_SystemTheme -> Int# # sizeOf# :: SDL_SystemTheme -> Int# # alignmentOfType# :: Proxy SDL_SystemTheme -> Int# # alignment# :: SDL_SystemTheme -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_SystemTheme # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_SystemTheme #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_SystemTheme -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_SystemTheme -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_SystemTheme # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_SystemTheme #) # writeOffAddr# :: Addr# -> Int# -> SDL_SystemTheme -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_SystemTheme -> State# s -> State# s # | |||||
| CEnum SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_SystemTheme -> SDL_SystemTheme # fromCEnum :: SDL_SystemTheme -> CEnumZ SDL_SystemTheme # declaredValues :: proxy SDL_SystemTheme -> DeclaredValues SDL_SystemTheme # showsUndeclared :: proxy SDL_SystemTheme -> Int -> CEnumZ SDL_SystemTheme -> ShowS # readPrecUndeclared :: ReadPrec SDL_SystemTheme # isDeclared :: SDL_SystemTheme -> Bool # mkDeclared :: CEnumZ SDL_SystemTheme -> Maybe SDL_SystemTheme # | |||||
| SequentialCEnum SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_SystemTheme -> IO SDL_SystemTheme # | |||||
| StaticSize SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_SystemTheme -> Int # staticAlignment :: Proxy SDL_SystemTheme -> Int # | |||||
| WriteRaw SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_SystemTheme -> SDL_SystemTheme -> IO () # | |||||
| HasCField SDL_SystemTheme "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_SystemTheme ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_SystemTheme -> (ty -> SDL_SystemTheme, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_SystemTheme) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_SystemTheme -> Ptr ty # | |||||
| type Rep SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_SystemTheme = D1 ('MetaData "SDL_SystemTheme" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_SystemTheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_SystemTheme Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_SystemTheme "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_SYSTEM_THEME_UNKNOWN :: SDL_SystemTheme Source #
Unknown system theme
- C declaration
SDL_SYSTEM_THEME_UNKNOWN, defined atSDL3/SDL_video.h 112:5
pattern SDL_SYSTEM_THEME_LIGHT :: SDL_SystemTheme Source #
Light colored system theme
- C declaration
SDL_SYSTEM_THEME_LIGHT, defined atSDL3/SDL_video.h 113:5
pattern SDL_SYSTEM_THEME_DARK :: SDL_SystemTheme Source #
Dark colored system theme
- C declaration
SDL_SYSTEM_THEME_DARK, defined atSDL3/SDL_video.h 114:5
data SDL_DisplayModeData Source #
Internal display mode data.
This lives as a field in SDL_DisplayMode, as opaque data.
- See also
SDL_DisplayMode- C declaration
struct SDL_DisplayModeData, defined atSDL3/SDL_video.h 126:16
Since: 3.2.0
data SDL_DisplayMode Source #
The structure that defines a display mode.
- See also
sDL_GetFullscreenDisplayModes,sDL_GetDesktopDisplayMode,sDL_GetCurrentDisplayMode,sDL_SetWindowFullscreenMode,sDL_GetWindowFullscreenMode- C declaration
struct SDL_DisplayMode, defined atSDL3/SDL_video.h 139:16
Since: 3.2.0
Constructors
| SDL_DisplayMode | |
Fields
| |
Instances
| Storable SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_DisplayMode -> Int # alignment :: SDL_DisplayMode -> Int # peekElemOff :: Ptr SDL_DisplayMode -> Int -> IO SDL_DisplayMode # pokeElemOff :: Ptr SDL_DisplayMode -> Int -> SDL_DisplayMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_DisplayMode # pokeByteOff :: Ptr b -> Int -> SDL_DisplayMode -> IO () # peek :: Ptr SDL_DisplayMode -> IO SDL_DisplayMode # poke :: Ptr SDL_DisplayMode -> SDL_DisplayMode -> IO () # | |||||
| Generic SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_DisplayMode -> Rep SDL_DisplayMode x # to :: Rep SDL_DisplayMode x -> SDL_DisplayMode # | |||||
| Show SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_DisplayMode -> ShowS # show :: SDL_DisplayMode -> String # showList :: [SDL_DisplayMode] -> ShowS # | |||||
| Eq SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_DisplayMode -> SDL_DisplayMode -> Bool # (/=) :: SDL_DisplayMode -> SDL_DisplayMode -> Bool # | |||||
| ReadRaw SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_DisplayMode -> IO SDL_DisplayMode # | |||||
| StaticSize SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_DisplayMode -> Int # staticAlignment :: Proxy SDL_DisplayMode -> Int # | |||||
| WriteRaw SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_DisplayMode -> SDL_DisplayMode -> IO () # | |||||
| IsStruct SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods zero :: SDL_DisplayMode # | |||||
| HasCField SDL_DisplayMode "displayID" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "internal" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "pixel_density" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "refresh_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "refresh_rate_denominator" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "refresh_rate_numerator" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| HasCField SDL_DisplayMode "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ SDL_DisplayID => HasField "displayID" SDL_DisplayMode ty Source # | the display this mode is associated with
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ SDL_PixelFormat => HasField "format" SDL_DisplayMode ty Source # | pixel format
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CInt => HasField "h" SDL_DisplayMode ty Source # | height
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ Ptr SDL_DisplayModeData => HasField "internal" SDL_DisplayMode ty Source # | Private
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CFloat => HasField "pixel_density" SDL_DisplayMode ty Source # | scale converting size to pixels (e.g. a 1920x1080 mode with 2.0 scale would have 3840x2160 pixels)
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CFloat => HasField "refresh_rate" SDL_DisplayMode ty Source # | refresh rate (or 0.0f for unspecified)
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CInt => HasField "refresh_rate_denominator" SDL_DisplayMode ty Source # | precise refresh rate denominator
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CInt => HasField "refresh_rate_numerator" SDL_DisplayMode ty Source # | precise refresh rate numerator (or 0 for unspecified)
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ CInt => HasField "w" SDL_DisplayMode ty Source # | width
| ||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayMode -> (ty -> SDL_DisplayMode, ty) # | |||||
| ty ~ SDL_DisplayID => HasField "displayID" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ SDL_PixelFormat => HasField "format" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CInt => HasField "h" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ Ptr SDL_DisplayModeData => HasField "internal" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CFloat => HasField "pixel_density" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CFloat => HasField "refresh_rate" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CInt => HasField "refresh_rate_denominator" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CInt => HasField "refresh_rate_numerator" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| ty ~ CInt => HasField "w" (Ptr SDL_DisplayMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayMode -> Ptr ty # | |||||
| type Rep SDL_DisplayMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_DisplayMode = D1 ('MetaData "SDL_DisplayMode" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_DisplayMode" 'PrefixI 'True) (((S1 ('MetaSel ('Just "displayID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_DisplayID) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PixelFormat)) :*: (S1 ('MetaSel ('Just "w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt) :*: S1 ('MetaSel ('Just "h") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt))) :*: ((S1 ('MetaSel ('Just "pixel_density") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "refresh_rate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)) :*: (S1 ('MetaSel ('Just "refresh_rate_numerator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt) :*: (S1 ('MetaSel ('Just "refresh_rate_denominator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt) :*: S1 ('MetaSel ('Just "internal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_DisplayModeData))))))) | |||||
| type CFieldType SDL_DisplayMode "displayID" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "internal" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "pixel_density" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "refresh_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "refresh_rate_denominator" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "refresh_rate_numerator" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayMode "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_DisplayOrientation Source #
Display orientation values; the way a display is rotated.
- C declaration
enum SDL_DisplayOrientation, defined atSDL3/SDL_video.h 159:14
Since: 3.2.0
Constructors
| SDL_DisplayOrientation | |
Instances
| Storable SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_DisplayOrientation -> Int # alignment :: SDL_DisplayOrientation -> Int # peekElemOff :: Ptr SDL_DisplayOrientation -> Int -> IO SDL_DisplayOrientation # pokeElemOff :: Ptr SDL_DisplayOrientation -> Int -> SDL_DisplayOrientation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_DisplayOrientation # pokeByteOff :: Ptr b -> Int -> SDL_DisplayOrientation -> IO () # peek :: Ptr SDL_DisplayOrientation -> IO SDL_DisplayOrientation # poke :: Ptr SDL_DisplayOrientation -> SDL_DisplayOrientation -> IO () # | |||||
| Generic SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_DisplayOrientation -> Rep SDL_DisplayOrientation x # to :: Rep SDL_DisplayOrientation x -> SDL_DisplayOrientation # | |||||
| Read SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Show SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_DisplayOrientation -> ShowS # show :: SDL_DisplayOrientation -> String # showList :: [SDL_DisplayOrientation] -> ShowS # | |||||
| Eq SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # (/=) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # | |||||
| Ord SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Ordering # (<) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # (<=) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # (>) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # (>=) :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> Bool # max :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> SDL_DisplayOrientation # min :: SDL_DisplayOrientation -> SDL_DisplayOrientation -> SDL_DisplayOrientation # | |||||
| Prim SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_DisplayOrientation -> Int# # sizeOf# :: SDL_DisplayOrientation -> Int# # alignmentOfType# :: Proxy SDL_DisplayOrientation -> Int# # alignment# :: SDL_DisplayOrientation -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_DisplayOrientation # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_DisplayOrientation #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_DisplayOrientation -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_DisplayOrientation -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_DisplayOrientation # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_DisplayOrientation #) # writeOffAddr# :: Addr# -> Int# -> SDL_DisplayOrientation -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_DisplayOrientation -> State# s -> State# s # | |||||
| CEnum SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_DisplayOrientation -> SDL_DisplayOrientation # fromCEnum :: SDL_DisplayOrientation -> CEnumZ SDL_DisplayOrientation # declaredValues :: proxy SDL_DisplayOrientation -> DeclaredValues SDL_DisplayOrientation # showsUndeclared :: proxy SDL_DisplayOrientation -> Int -> CEnumZ SDL_DisplayOrientation -> ShowS # readPrecUndeclared :: ReadPrec SDL_DisplayOrientation # isDeclared :: SDL_DisplayOrientation -> Bool # mkDeclared :: CEnumZ SDL_DisplayOrientation -> Maybe SDL_DisplayOrientation # | |||||
| SequentialCEnum SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ReadRaw SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_DisplayOrientation -> IO SDL_DisplayOrientation # | |||||
| StaticSize SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| WriteRaw SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_DisplayOrientation -> SDL_DisplayOrientation -> IO () # | |||||
| HasCField SDL_DisplayOrientation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_DisplayOrientation ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_DisplayOrientation -> (ty -> SDL_DisplayOrientation, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_DisplayOrientation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_DisplayOrientation -> Ptr ty # | |||||
| type Rep SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_DisplayOrientation = D1 ('MetaData "SDL_DisplayOrientation" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_DisplayOrientation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_DisplayOrientation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_DisplayOrientation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_ORIENTATION_UNKNOWN :: SDL_DisplayOrientation Source #
The display orientation can't be determined
- C declaration
SDL_ORIENTATION_UNKNOWN, defined atSDL3/SDL_video.h 161:5
pattern SDL_ORIENTATION_LANDSCAPE :: SDL_DisplayOrientation Source #
The display is in landscape mode, with the right side up, relative to portrait mode
- C declaration
SDL_ORIENTATION_LANDSCAPE, defined atSDL3/SDL_video.h 162:5
pattern SDL_ORIENTATION_LANDSCAPE_FLIPPED :: SDL_DisplayOrientation Source #
The display is in landscape mode, with the left side up, relative to portrait mode
- C declaration
SDL_ORIENTATION_LANDSCAPE_FLIPPED, defined atSDL3/SDL_video.h 163:5
pattern SDL_ORIENTATION_PORTRAIT :: SDL_DisplayOrientation Source #
The display is in portrait mode
- C declaration
SDL_ORIENTATION_PORTRAIT, defined atSDL3/SDL_video.h 164:5
pattern SDL_ORIENTATION_PORTRAIT_FLIPPED :: SDL_DisplayOrientation Source #
The display is in portrait mode, upside down
- C declaration
SDL_ORIENTATION_PORTRAIT_FLIPPED, defined atSDL3/SDL_video.h 165:5
data SDL_Window Source #
The struct used as an opaque handle to a window.
- See also
sDL_CreateWindow- C declaration
struct SDL_Window, defined atSDL3/SDL_video.h 175:16
Since: 3.2.0
newtype SDL_WindowFlags Source #
The flags on a window.
These cover a lot of true/false, or on/off, window state. Some of it is immutable after being set through SDL_CreateWindow(), some of it can be changed on existing windows by the app, and some of it might be altered by the user or system outside of the app's control.
When creating windows with SDL_WINDOW_RESIZABLE, SDL will constrain resizable windows to the dimensions recommended by the compositor to fit it within the usable desktop space, although some compositors will do this automatically without intervention as well. Use after creation instead if you wish to create a window with a specific size.sDL_SetWindowResizable
- See also
sDL_GetWindowFlags- C declaration
SDL_WindowFlags, defined atSDL3/SDL_video.h 195:16
Since: 3.2.0
Constructors
| SDL_WindowFlags | |
Instances
| Bits SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # (.|.) :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # xor :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # complement :: SDL_WindowFlags -> SDL_WindowFlags # shift :: SDL_WindowFlags -> Int -> SDL_WindowFlags # rotate :: SDL_WindowFlags -> Int -> SDL_WindowFlags # bit :: Int -> SDL_WindowFlags # setBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags # clearBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags # complementBit :: SDL_WindowFlags -> Int -> SDL_WindowFlags # testBit :: SDL_WindowFlags -> Int -> Bool # bitSizeMaybe :: SDL_WindowFlags -> Maybe Int # bitSize :: SDL_WindowFlags -> Int # isSigned :: SDL_WindowFlags -> Bool # shiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags # unsafeShiftL :: SDL_WindowFlags -> Int -> SDL_WindowFlags # shiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags # unsafeShiftR :: SDL_WindowFlags -> Int -> SDL_WindowFlags # rotateL :: SDL_WindowFlags -> Int -> SDL_WindowFlags # rotateR :: SDL_WindowFlags -> Int -> SDL_WindowFlags # popCount :: SDL_WindowFlags -> Int # | |||||
| FiniteBits SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Bounded SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_WindowFlags -> SDL_WindowFlags # pred :: SDL_WindowFlags -> SDL_WindowFlags # toEnum :: Int -> SDL_WindowFlags # fromEnum :: SDL_WindowFlags -> Int # enumFrom :: SDL_WindowFlags -> [SDL_WindowFlags] # enumFromThen :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags] # enumFromTo :: SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags] # enumFromThenTo :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags -> [SDL_WindowFlags] # | |||||
| Storable SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_WindowFlags -> Int # alignment :: SDL_WindowFlags -> Int # peekElemOff :: Ptr SDL_WindowFlags -> Int -> IO SDL_WindowFlags # pokeElemOff :: Ptr SDL_WindowFlags -> Int -> SDL_WindowFlags -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_WindowFlags # pokeByteOff :: Ptr b -> Int -> SDL_WindowFlags -> IO () # peek :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags # poke :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO () # | |||||
| Generic SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_WindowFlags -> Rep SDL_WindowFlags x # to :: Rep SDL_WindowFlags x -> SDL_WindowFlags # | |||||
| Ix SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_WindowFlags, SDL_WindowFlags) -> [SDL_WindowFlags] # index :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int # unsafeIndex :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Int # inRange :: (SDL_WindowFlags, SDL_WindowFlags) -> SDL_WindowFlags -> Bool # rangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int # unsafeRangeSize :: (SDL_WindowFlags, SDL_WindowFlags) -> Int # | |||||
| Num SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # (-) :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # (*) :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # negate :: SDL_WindowFlags -> SDL_WindowFlags # abs :: SDL_WindowFlags -> SDL_WindowFlags # signum :: SDL_WindowFlags -> SDL_WindowFlags # fromInteger :: Integer -> SDL_WindowFlags # | |||||
| Read SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_WindowFlags # readList :: ReadS [SDL_WindowFlags] # | |||||
| Integral SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # rem :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # div :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # mod :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # quotRem :: SDL_WindowFlags -> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags) # divMod :: SDL_WindowFlags -> SDL_WindowFlags -> (SDL_WindowFlags, SDL_WindowFlags) # toInteger :: SDL_WindowFlags -> Integer # | |||||
| Real SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_WindowFlags -> Rational # | |||||
| Show SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_WindowFlags -> ShowS # show :: SDL_WindowFlags -> String # showList :: [SDL_WindowFlags] -> ShowS # | |||||
| Eq SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # (/=) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # | |||||
| Ord SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_WindowFlags -> SDL_WindowFlags -> Ordering # (<) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # (<=) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # (>) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # (>=) :: SDL_WindowFlags -> SDL_WindowFlags -> Bool # max :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # min :: SDL_WindowFlags -> SDL_WindowFlags -> SDL_WindowFlags # | |||||
| Prim SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_WindowFlags -> Int# # sizeOf# :: SDL_WindowFlags -> Int# # alignmentOfType# :: Proxy SDL_WindowFlags -> Int# # alignment# :: SDL_WindowFlags -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_WindowFlags # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_WindowFlags #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_WindowFlags -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_WindowFlags # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_WindowFlags #) # writeOffAddr# :: Addr# -> Int# -> SDL_WindowFlags -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_WindowFlags -> State# s -> State# s # | |||||
| HasFFIType SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_WindowFlags -> IO SDL_WindowFlags # | |||||
| StaticSize SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_WindowFlags -> Int # staticAlignment :: Proxy SDL_WindowFlags -> Int # | |||||
| WriteRaw SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_WindowFlags -> SDL_WindowFlags -> IO () # | |||||
| Bitfield SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_WindowFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint64 => HasField "unwrap" SDL_WindowFlags ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_WindowFlags -> (ty -> SDL_WindowFlags, ty) # | |||||
| ty ~ Uint64 => HasField "unwrap" (Ptr SDL_WindowFlags) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_WindowFlags -> Ptr ty # | |||||
| type Rep SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_WindowFlags = D1 ('MetaData "SDL_WindowFlags" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_WindowFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint64))) | |||||
| type FFIType SDL_WindowFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_WindowFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_WINDOWPOS_UNDEFINED_MASK :: CUInt Source #
A magic value used with SDL_WINDOWPOS_UNDEFINED.
Generally this macro isn't used directly, but rather through SDL_WINDOWPOS_UNDEFINED or SDL_WINDOWPOS_UNDEFINED_DISPLAY.
- See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_UNDEFINED_MASK, defined atSDL3/SDL_video.h 235:9
Since: 3.2.0
sDL_WINDOWPOS_UNDEFINED_DISPLAY :: Bitwise CUInt a0 => a0 -> BitsRes CUInt a0 Source #
Used to indicate that you don't care what the window position is.
If you really don't care, SDL_WINDOWPOS_UNDEFINED is the same, but always uses the primary display instead of specifying one.
X- the
SDL_DisplayIDof the display to use. - See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_UNDEFINED_DISPLAY, defined atSDL3/SDL_video.h 249:9
Since: 3.2.0
sDL_WINDOWPOS_UNDEFINED :: CUInt Source #
Used to indicate that you don't care what the window position/display is.
This always uses the primary display.
- See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_UNDEFINED, defined atSDL3/SDL_video.h 260:9
Since: 3.2.0
sDL_WINDOWPOS_ISUNDEFINED :: (RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) => a0 -> CInt Source #
A macro to test if the window position is marked as "undefined."
X- the window position value.
- See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_ISUNDEFINED, defined atSDL3/SDL_video.h 271:9
Since: 3.2.0
sDL_WINDOWPOS_CENTERED_MASK :: CUInt Source #
A magic value used with SDL_WINDOWPOS_CENTERED.
Generally this macro isn't used directly, but rather through SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_CENTERED_DISPLAY.
- See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_CENTERED_MASK, defined atSDL3/SDL_video.h 283:9
Since: 3.2.0
sDL_WINDOWPOS_CENTERED_DISPLAY :: Bitwise CUInt a0 => a0 -> BitsRes CUInt a0 Source #
Used to indicate that the window position should be centered.
SDL_WINDOWPOS_CENTERED is the same, but always uses the primary display instead of specifying one.
X- the
SDL_DisplayIDof the display to use. - See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_CENTERED_DISPLAY, defined atSDL3/SDL_video.h 297:9
Since: 3.2.0
sDL_WINDOWPOS_CENTERED :: CUInt Source #
Used to indicate that the window position should be centered.
This always uses the primary display.
- See also
sDL_SetWindowPosition- C declaration
macro SDL_WINDOWPOS_CENTERED, defined atSDL3/SDL_video.h 308:9
Since: 3.2.0
sDL_WINDOWPOS_ISCENTERED :: (RelEq (BitsRes a0 CInt) CUInt, Bitwise a0 CInt) => a0 -> CInt Source #
A macro to test if the window position is marked as "centered."
X- the window position value.
- See also
sDL_GetWindowPosition- C declaration
macro SDL_WINDOWPOS_ISCENTERED, defined atSDL3/SDL_video.h 319:9
Since: 3.2.0
newtype SDL_FlashOperation Source #
Window flash operation.
- C declaration
enum SDL_FlashOperation, defined atSDL3/SDL_video.h 328:14
Since: 3.2.0
Constructors
| SDL_FlashOperation | |
Instances
| Storable SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_FlashOperation -> Int # alignment :: SDL_FlashOperation -> Int # peekElemOff :: Ptr SDL_FlashOperation -> Int -> IO SDL_FlashOperation # pokeElemOff :: Ptr SDL_FlashOperation -> Int -> SDL_FlashOperation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_FlashOperation # pokeByteOff :: Ptr b -> Int -> SDL_FlashOperation -> IO () # peek :: Ptr SDL_FlashOperation -> IO SDL_FlashOperation # poke :: Ptr SDL_FlashOperation -> SDL_FlashOperation -> IO () # | |||||
| Generic SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_FlashOperation -> Rep SDL_FlashOperation x # to :: Rep SDL_FlashOperation x -> SDL_FlashOperation # | |||||
| Read SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_FlashOperation # readList :: ReadS [SDL_FlashOperation] # | |||||
| Show SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_FlashOperation -> ShowS # show :: SDL_FlashOperation -> String # showList :: [SDL_FlashOperation] -> ShowS # | |||||
| Eq SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # (/=) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # | |||||
| Ord SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_FlashOperation -> SDL_FlashOperation -> Ordering # (<) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # (<=) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # (>) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # (>=) :: SDL_FlashOperation -> SDL_FlashOperation -> Bool # max :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation # min :: SDL_FlashOperation -> SDL_FlashOperation -> SDL_FlashOperation # | |||||
| Prim SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_FlashOperation -> Int# # sizeOf# :: SDL_FlashOperation -> Int# # alignmentOfType# :: Proxy SDL_FlashOperation -> Int# # alignment# :: SDL_FlashOperation -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_FlashOperation # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_FlashOperation #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_FlashOperation -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_FlashOperation -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_FlashOperation # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_FlashOperation #) # writeOffAddr# :: Addr# -> Int# -> SDL_FlashOperation -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_FlashOperation -> State# s -> State# s # | |||||
| CEnum SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_FlashOperation -> SDL_FlashOperation # fromCEnum :: SDL_FlashOperation -> CEnumZ SDL_FlashOperation # declaredValues :: proxy SDL_FlashOperation -> DeclaredValues SDL_FlashOperation # showsUndeclared :: proxy SDL_FlashOperation -> Int -> CEnumZ SDL_FlashOperation -> ShowS # readPrecUndeclared :: ReadPrec SDL_FlashOperation # isDeclared :: SDL_FlashOperation -> Bool # mkDeclared :: CEnumZ SDL_FlashOperation -> Maybe SDL_FlashOperation # | |||||
| SequentialCEnum SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_FlashOperation -> FFIType SDL_FlashOperation # fromFFIType :: FFIType SDL_FlashOperation -> SDL_FlashOperation # | |||||
| ReadRaw SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_FlashOperation -> IO SDL_FlashOperation # | |||||
| StaticSize SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_FlashOperation -> Int # | |||||
| WriteRaw SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_FlashOperation -> SDL_FlashOperation -> IO () # | |||||
| HasCField SDL_FlashOperation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_FlashOperation ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_FlashOperation -> (ty -> SDL_FlashOperation, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_FlashOperation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_FlashOperation -> Ptr ty # | |||||
| type Rep SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_FlashOperation = D1 ('MetaData "SDL_FlashOperation" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_FlashOperation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_FlashOperation Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_FlashOperation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_FLASH_CANCEL :: SDL_FlashOperation Source #
Cancel any window flash state
- C declaration
SDL_FLASH_CANCEL, defined atSDL3/SDL_video.h 330:5
pattern SDL_FLASH_BRIEFLY :: SDL_FlashOperation Source #
Flash the window briefly to get attention
- C declaration
SDL_FLASH_BRIEFLY, defined atSDL3/SDL_video.h 331:5
pattern SDL_FLASH_UNTIL_FOCUSED :: SDL_FlashOperation Source #
Flash the window until it gets focus
- C declaration
SDL_FLASH_UNTIL_FOCUSED, defined atSDL3/SDL_video.h 332:5
newtype SDL_ProgressState Source #
Window progress state
- C declaration
enum SDL_ProgressState, defined atSDL3/SDL_video.h 340:14
Since: 3.2.8
Constructors
| SDL_ProgressState | |
Instances
| Storable SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_ProgressState -> Int # alignment :: SDL_ProgressState -> Int # peekElemOff :: Ptr SDL_ProgressState -> Int -> IO SDL_ProgressState # pokeElemOff :: Ptr SDL_ProgressState -> Int -> SDL_ProgressState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ProgressState # pokeByteOff :: Ptr b -> Int -> SDL_ProgressState -> IO () # peek :: Ptr SDL_ProgressState -> IO SDL_ProgressState # poke :: Ptr SDL_ProgressState -> SDL_ProgressState -> IO () # | |||||
| Generic SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_ProgressState -> Rep SDL_ProgressState x # to :: Rep SDL_ProgressState x -> SDL_ProgressState # | |||||
| Read SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_ProgressState # readList :: ReadS [SDL_ProgressState] # | |||||
| Show SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_ProgressState -> ShowS # show :: SDL_ProgressState -> String # showList :: [SDL_ProgressState] -> ShowS # | |||||
| Eq SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_ProgressState -> SDL_ProgressState -> Bool # (/=) :: SDL_ProgressState -> SDL_ProgressState -> Bool # | |||||
| Ord SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_ProgressState -> SDL_ProgressState -> Ordering # (<) :: SDL_ProgressState -> SDL_ProgressState -> Bool # (<=) :: SDL_ProgressState -> SDL_ProgressState -> Bool # (>) :: SDL_ProgressState -> SDL_ProgressState -> Bool # (>=) :: SDL_ProgressState -> SDL_ProgressState -> Bool # max :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState # min :: SDL_ProgressState -> SDL_ProgressState -> SDL_ProgressState # | |||||
| Prim SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_ProgressState -> Int# # sizeOf# :: SDL_ProgressState -> Int# # alignmentOfType# :: Proxy SDL_ProgressState -> Int# # alignment# :: SDL_ProgressState -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ProgressState # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ProgressState #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ProgressState -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ProgressState -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ProgressState # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ProgressState #) # writeOffAddr# :: Addr# -> Int# -> SDL_ProgressState -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ProgressState -> State# s -> State# s # | |||||
| CEnum SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_ProgressState -> SDL_ProgressState # fromCEnum :: SDL_ProgressState -> CEnumZ SDL_ProgressState # declaredValues :: proxy SDL_ProgressState -> DeclaredValues SDL_ProgressState # showsUndeclared :: proxy SDL_ProgressState -> Int -> CEnumZ SDL_ProgressState -> ShowS # readPrecUndeclared :: ReadPrec SDL_ProgressState # isDeclared :: SDL_ProgressState -> Bool # mkDeclared :: CEnumZ SDL_ProgressState -> Maybe SDL_ProgressState # | |||||
| SequentialCEnum SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_ProgressState -> FFIType SDL_ProgressState # fromFFIType :: FFIType SDL_ProgressState -> SDL_ProgressState # | |||||
| ReadRaw SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| StaticSize SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_ProgressState -> Int # | |||||
| WriteRaw SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_ProgressState -> SDL_ProgressState -> IO () # | |||||
| HasCField SDL_ProgressState "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CInt => HasField "unwrap" SDL_ProgressState ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_ProgressState -> (ty -> SDL_ProgressState, ty) # | |||||
| ty ~ CInt => HasField "unwrap" (Ptr SDL_ProgressState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_ProgressState -> Ptr ty # | |||||
| type Rep SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_ProgressState = D1 ('MetaData "SDL_ProgressState" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ProgressState" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CInt))) | |||||
| type CEnumZ SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_ProgressState Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_ProgressState "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_PROGRESS_STATE_INVALID :: SDL_ProgressState Source #
An invalid progress state indicating an error; check SDL_GetError()
- C declaration
SDL_PROGRESS_STATE_INVALID, defined atSDL3/SDL_video.h 342:5
pattern SDL_PROGRESS_STATE_NONE :: SDL_ProgressState Source #
No progress bar is shown
- C declaration
SDL_PROGRESS_STATE_NONE, defined atSDL3/SDL_video.h 343:5
pattern SDL_PROGRESS_STATE_INDETERMINATE :: SDL_ProgressState Source #
The progress bar is shown in a indeterminate state
- C declaration
SDL_PROGRESS_STATE_INDETERMINATE, defined atSDL3/SDL_video.h 344:5
pattern SDL_PROGRESS_STATE_NORMAL :: SDL_ProgressState Source #
The progress bar is shown in a normal state
- C declaration
SDL_PROGRESS_STATE_NORMAL, defined atSDL3/SDL_video.h 345:5
pattern SDL_PROGRESS_STATE_PAUSED :: SDL_ProgressState Source #
The progress bar is shown in a paused state
- C declaration
SDL_PROGRESS_STATE_PAUSED, defined atSDL3/SDL_video.h 346:5
pattern SDL_PROGRESS_STATE_ERROR :: SDL_ProgressState Source #
The progress bar is shown in a state indicating the application had an error
- C declaration
SDL_PROGRESS_STATE_ERROR, defined atSDL3/SDL_video.h 347:5
data SDL_GLContextState Source #
- C declaration
struct SDL_GLContextState, defined atSDL3/SDL_video.h 360:16
newtype SDL_GLContext Source #
An opaque handle to an OpenGL context.
- See also
sDL_GL_CreateContext,sDL_GL_SetAttribute,sDL_GL_MakeCurrent,sDL_GL_DestroyContext- C declaration
SDL_GLContext, defined atSDL3/SDL_video.h 360:36
Since: 3.2.0
Constructors
| SDL_GLContext | |
Fields | |
Instances
| Storable SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLContext -> Int # alignment :: SDL_GLContext -> Int # peekElemOff :: Ptr SDL_GLContext -> Int -> IO SDL_GLContext # pokeElemOff :: Ptr SDL_GLContext -> Int -> SDL_GLContext -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLContext # pokeByteOff :: Ptr b -> Int -> SDL_GLContext -> IO () # peek :: Ptr SDL_GLContext -> IO SDL_GLContext # poke :: Ptr SDL_GLContext -> SDL_GLContext -> IO () # | |||||
| Generic SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Show SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLContext -> ShowS # show :: SDL_GLContext -> String # showList :: [SDL_GLContext] -> ShowS # | |||||
| Eq SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_GLContext -> SDL_GLContext -> Bool # (/=) :: SDL_GLContext -> SDL_GLContext -> Bool # | |||||
| Ord SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLContext -> SDL_GLContext -> Ordering # (<) :: SDL_GLContext -> SDL_GLContext -> Bool # (<=) :: SDL_GLContext -> SDL_GLContext -> Bool # (>) :: SDL_GLContext -> SDL_GLContext -> Bool # (>=) :: SDL_GLContext -> SDL_GLContext -> Bool # max :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext # min :: SDL_GLContext -> SDL_GLContext -> SDL_GLContext # | |||||
| HasFFIType SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_GLContext -> IO SDL_GLContext # | |||||
| StaticSize SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLContext -> SDL_GLContext -> IO () # | |||||
| HasCField SDL_GLContext "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Ptr SDL_GLContextState => HasField "unwrap" SDL_GLContext ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLContext -> (ty -> SDL_GLContext, ty) # | |||||
| ty ~ Ptr SDL_GLContextState => HasField "unwrap" (Ptr SDL_GLContext) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLContext -> Ptr ty # | |||||
| type Rep SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLContext = D1 ('MetaData "SDL_GLContext" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr SDL_GLContextState)))) | |||||
| type FFIType SDL_GLContext Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLContext "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLDisplay Source #
Opaque type for an EGL display.
- C declaration
SDL_EGLDisplay, defined atSDL3/SDL_video.h 367:15
Since: 3.2.0
Constructors
| SDL_EGLDisplay | |
Instances
| Storable SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLDisplay -> Int # alignment :: SDL_EGLDisplay -> Int # peekElemOff :: Ptr SDL_EGLDisplay -> Int -> IO SDL_EGLDisplay # pokeElemOff :: Ptr SDL_EGLDisplay -> Int -> SDL_EGLDisplay -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLDisplay # pokeByteOff :: Ptr b -> Int -> SDL_EGLDisplay -> IO () # peek :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay # poke :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO () # | |||||
| Generic SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_EGLDisplay -> Rep SDL_EGLDisplay x # to :: Rep SDL_EGLDisplay x -> SDL_EGLDisplay # | |||||
| Show SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLDisplay -> ShowS # show :: SDL_EGLDisplay -> String # showList :: [SDL_EGLDisplay] -> ShowS # | |||||
| Eq SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # (/=) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # | |||||
| Ord SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLDisplay -> SDL_EGLDisplay -> Ordering # (<) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # (<=) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # (>) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # (>=) :: SDL_EGLDisplay -> SDL_EGLDisplay -> Bool # max :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay # min :: SDL_EGLDisplay -> SDL_EGLDisplay -> SDL_EGLDisplay # | |||||
| HasFFIType SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLDisplay -> IO SDL_EGLDisplay # | |||||
| StaticSize SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_EGLDisplay -> Int # staticAlignment :: Proxy SDL_EGLDisplay -> Int # | |||||
| WriteRaw SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLDisplay -> SDL_EGLDisplay -> IO () # | |||||
| HasCField SDL_EGLDisplay "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Ptr Void => HasField "unwrap" SDL_EGLDisplay ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLDisplay -> (ty -> SDL_EGLDisplay, ty) # | |||||
| ty ~ Ptr Void => HasField "unwrap" (Ptr SDL_EGLDisplay) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLDisplay -> Ptr ty # | |||||
| type Rep SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLDisplay = D1 ('MetaData "SDL_EGLDisplay" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLDisplay" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void)))) | |||||
| type FFIType SDL_EGLDisplay Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLDisplay "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLConfig Source #
Opaque type for an EGL config.
- C declaration
SDL_EGLConfig, defined atSDL3/SDL_video.h 374:15
Since: 3.2.0
Constructors
| SDL_EGLConfig | |
Instances
| Storable SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLConfig -> Int # alignment :: SDL_EGLConfig -> Int # peekElemOff :: Ptr SDL_EGLConfig -> Int -> IO SDL_EGLConfig # pokeElemOff :: Ptr SDL_EGLConfig -> Int -> SDL_EGLConfig -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLConfig # pokeByteOff :: Ptr b -> Int -> SDL_EGLConfig -> IO () # peek :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig # poke :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO () # | |||||
| Generic SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Show SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLConfig -> ShowS # show :: SDL_EGLConfig -> String # showList :: [SDL_EGLConfig] -> ShowS # | |||||
| Eq SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # (/=) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # | |||||
| Ord SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLConfig -> SDL_EGLConfig -> Ordering # (<) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # (<=) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # (>) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # (>=) :: SDL_EGLConfig -> SDL_EGLConfig -> Bool # max :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig # min :: SDL_EGLConfig -> SDL_EGLConfig -> SDL_EGLConfig # | |||||
| HasFFIType SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLConfig -> IO SDL_EGLConfig # | |||||
| StaticSize SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLConfig -> SDL_EGLConfig -> IO () # | |||||
| HasCField SDL_EGLConfig "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Ptr Void => HasField "unwrap" SDL_EGLConfig ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLConfig -> (ty -> SDL_EGLConfig, ty) # | |||||
| ty ~ Ptr Void => HasField "unwrap" (Ptr SDL_EGLConfig) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLConfig -> Ptr ty # | |||||
| type Rep SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLConfig = D1 ('MetaData "SDL_EGLConfig" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void)))) | |||||
| type FFIType SDL_EGLConfig Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLConfig "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLSurface Source #
Opaque type for an EGL surface.
- C declaration
SDL_EGLSurface, defined atSDL3/SDL_video.h 381:15
Since: 3.2.0
Constructors
| SDL_EGLSurface | |
Instances
| Storable SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLSurface -> Int # alignment :: SDL_EGLSurface -> Int # peekElemOff :: Ptr SDL_EGLSurface -> Int -> IO SDL_EGLSurface # pokeElemOff :: Ptr SDL_EGLSurface -> Int -> SDL_EGLSurface -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLSurface # pokeByteOff :: Ptr b -> Int -> SDL_EGLSurface -> IO () # peek :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface # poke :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO () # | |||||
| Generic SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_EGLSurface -> Rep SDL_EGLSurface x # to :: Rep SDL_EGLSurface x -> SDL_EGLSurface # | |||||
| Show SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLSurface -> ShowS # show :: SDL_EGLSurface -> String # showList :: [SDL_EGLSurface] -> ShowS # | |||||
| Eq SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # (/=) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # | |||||
| Ord SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLSurface -> SDL_EGLSurface -> Ordering # (<) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # (<=) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # (>) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # (>=) :: SDL_EGLSurface -> SDL_EGLSurface -> Bool # max :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface # min :: SDL_EGLSurface -> SDL_EGLSurface -> SDL_EGLSurface # | |||||
| HasFFIType SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLSurface -> IO SDL_EGLSurface # | |||||
| StaticSize SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_EGLSurface -> Int # staticAlignment :: Proxy SDL_EGLSurface -> Int # | |||||
| WriteRaw SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLSurface -> SDL_EGLSurface -> IO () # | |||||
| HasCField SDL_EGLSurface "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Ptr Void => HasField "unwrap" SDL_EGLSurface ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLSurface -> (ty -> SDL_EGLSurface, ty) # | |||||
| ty ~ Ptr Void => HasField "unwrap" (Ptr SDL_EGLSurface) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLSurface -> Ptr ty # | |||||
| type Rep SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLSurface = D1 ('MetaData "SDL_EGLSurface" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLSurface" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void)))) | |||||
| type FFIType SDL_EGLSurface Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLSurface "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLAttrib Source #
An EGL attribute, used when creating an EGL context.
- C declaration
SDL_EGLAttrib, defined atSDL3/SDL_video.h 388:18
Since: 3.2.0
Constructors
| SDL_EGLAttrib | |
Instances
| Bits SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # (.|.) :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # xor :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # complement :: SDL_EGLAttrib -> SDL_EGLAttrib # shift :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # rotate :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # bit :: Int -> SDL_EGLAttrib # setBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # clearBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # complementBit :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # testBit :: SDL_EGLAttrib -> Int -> Bool # bitSizeMaybe :: SDL_EGLAttrib -> Maybe Int # bitSize :: SDL_EGLAttrib -> Int # isSigned :: SDL_EGLAttrib -> Bool # shiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # unsafeShiftL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # shiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # unsafeShiftR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # rotateL :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # rotateR :: SDL_EGLAttrib -> Int -> SDL_EGLAttrib # popCount :: SDL_EGLAttrib -> Int # | |||||
| FiniteBits SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods finiteBitSize :: SDL_EGLAttrib -> Int # countLeadingZeros :: SDL_EGLAttrib -> Int # countTrailingZeros :: SDL_EGLAttrib -> Int # | |||||
| Bounded SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_EGLAttrib -> SDL_EGLAttrib # pred :: SDL_EGLAttrib -> SDL_EGLAttrib # toEnum :: Int -> SDL_EGLAttrib # fromEnum :: SDL_EGLAttrib -> Int # enumFrom :: SDL_EGLAttrib -> [SDL_EGLAttrib] # enumFromThen :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib] # enumFromTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib] # enumFromThenTo :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib -> [SDL_EGLAttrib] # | |||||
| Storable SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLAttrib -> Int # alignment :: SDL_EGLAttrib -> Int # peekElemOff :: Ptr SDL_EGLAttrib -> Int -> IO SDL_EGLAttrib # pokeElemOff :: Ptr SDL_EGLAttrib -> Int -> SDL_EGLAttrib -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLAttrib # pokeByteOff :: Ptr b -> Int -> SDL_EGLAttrib -> IO () # peek :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib # poke :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO () # | |||||
| Generic SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Ix SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_EGLAttrib, SDL_EGLAttrib) -> [SDL_EGLAttrib] # index :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int # unsafeIndex :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Int # inRange :: (SDL_EGLAttrib, SDL_EGLAttrib) -> SDL_EGLAttrib -> Bool # rangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int # unsafeRangeSize :: (SDL_EGLAttrib, SDL_EGLAttrib) -> Int # | |||||
| Num SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # (-) :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # (*) :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # negate :: SDL_EGLAttrib -> SDL_EGLAttrib # abs :: SDL_EGLAttrib -> SDL_EGLAttrib # signum :: SDL_EGLAttrib -> SDL_EGLAttrib # fromInteger :: Integer -> SDL_EGLAttrib # | |||||
| Read SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_EGLAttrib # readList :: ReadS [SDL_EGLAttrib] # | |||||
| Integral SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # rem :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # div :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # mod :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # quotRem :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib) # divMod :: SDL_EGLAttrib -> SDL_EGLAttrib -> (SDL_EGLAttrib, SDL_EGLAttrib) # toInteger :: SDL_EGLAttrib -> Integer # | |||||
| Real SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_EGLAttrib -> Rational # | |||||
| Show SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLAttrib -> ShowS # show :: SDL_EGLAttrib -> String # showList :: [SDL_EGLAttrib] -> ShowS # | |||||
| Eq SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # (/=) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # | |||||
| Ord SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLAttrib -> SDL_EGLAttrib -> Ordering # (<) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # (<=) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # (>) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # (>=) :: SDL_EGLAttrib -> SDL_EGLAttrib -> Bool # max :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # min :: SDL_EGLAttrib -> SDL_EGLAttrib -> SDL_EGLAttrib # | |||||
| Prim SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_EGLAttrib -> Int# # sizeOf# :: SDL_EGLAttrib -> Int# # alignmentOfType# :: Proxy SDL_EGLAttrib -> Int# # alignment# :: SDL_EGLAttrib -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_EGLAttrib # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_EGLAttrib -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_EGLAttrib # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_EGLAttrib #) # writeOffAddr# :: Addr# -> Int# -> SDL_EGLAttrib -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_EGLAttrib -> State# s -> State# s # | |||||
| HasFFIType SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLAttrib -> IO SDL_EGLAttrib # | |||||
| StaticSize SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLAttrib -> SDL_EGLAttrib -> IO () # | |||||
| Bitfield SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_EGLAttrib "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CIntPtr => HasField "unwrap" SDL_EGLAttrib ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLAttrib -> (ty -> SDL_EGLAttrib, ty) # | |||||
| ty ~ CIntPtr => HasField "unwrap" (Ptr SDL_EGLAttrib) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLAttrib -> Ptr ty # | |||||
| type Rep SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLAttrib = D1 ('MetaData "SDL_EGLAttrib" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLAttrib" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CIntPtr))) | |||||
| type FFIType SDL_EGLAttrib Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLAttrib "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLint Source #
An EGL integer attribute, used when creating an EGL surface.
- C declaration
SDL_EGLint, defined atSDL3/SDL_video.h 395:13
Since: 3.2.0
Constructors
| SDL_EGLint | |
Instances
| Bits SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # (.|.) :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # xor :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # complement :: SDL_EGLint -> SDL_EGLint # shift :: SDL_EGLint -> Int -> SDL_EGLint # rotate :: SDL_EGLint -> Int -> SDL_EGLint # zeroBits :: SDL_EGLint # bit :: Int -> SDL_EGLint # setBit :: SDL_EGLint -> Int -> SDL_EGLint # clearBit :: SDL_EGLint -> Int -> SDL_EGLint # complementBit :: SDL_EGLint -> Int -> SDL_EGLint # testBit :: SDL_EGLint -> Int -> Bool # bitSizeMaybe :: SDL_EGLint -> Maybe Int # bitSize :: SDL_EGLint -> Int # isSigned :: SDL_EGLint -> Bool # shiftL :: SDL_EGLint -> Int -> SDL_EGLint # unsafeShiftL :: SDL_EGLint -> Int -> SDL_EGLint # shiftR :: SDL_EGLint -> Int -> SDL_EGLint # unsafeShiftR :: SDL_EGLint -> Int -> SDL_EGLint # rotateL :: SDL_EGLint -> Int -> SDL_EGLint # rotateR :: SDL_EGLint -> Int -> SDL_EGLint # popCount :: SDL_EGLint -> Int # | |||||
| FiniteBits SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods finiteBitSize :: SDL_EGLint -> Int # countLeadingZeros :: SDL_EGLint -> Int # countTrailingZeros :: SDL_EGLint -> Int # | |||||
| Bounded SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_EGLint -> SDL_EGLint # pred :: SDL_EGLint -> SDL_EGLint # toEnum :: Int -> SDL_EGLint # fromEnum :: SDL_EGLint -> Int # enumFrom :: SDL_EGLint -> [SDL_EGLint] # enumFromThen :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint] # enumFromTo :: SDL_EGLint -> SDL_EGLint -> [SDL_EGLint] # enumFromThenTo :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint -> [SDL_EGLint] # | |||||
| Storable SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLint -> Int # alignment :: SDL_EGLint -> Int # peekElemOff :: Ptr SDL_EGLint -> Int -> IO SDL_EGLint # pokeElemOff :: Ptr SDL_EGLint -> Int -> SDL_EGLint -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLint # pokeByteOff :: Ptr b -> Int -> SDL_EGLint -> IO () # peek :: Ptr SDL_EGLint -> IO SDL_EGLint # poke :: Ptr SDL_EGLint -> SDL_EGLint -> IO () # | |||||
| Generic SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Ix SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_EGLint, SDL_EGLint) -> [SDL_EGLint] # index :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int # unsafeIndex :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Int # inRange :: (SDL_EGLint, SDL_EGLint) -> SDL_EGLint -> Bool # rangeSize :: (SDL_EGLint, SDL_EGLint) -> Int # unsafeRangeSize :: (SDL_EGLint, SDL_EGLint) -> Int # | |||||
| Num SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # (-) :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # (*) :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # negate :: SDL_EGLint -> SDL_EGLint # abs :: SDL_EGLint -> SDL_EGLint # signum :: SDL_EGLint -> SDL_EGLint # fromInteger :: Integer -> SDL_EGLint # | |||||
| Read SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_EGLint # readList :: ReadS [SDL_EGLint] # readPrec :: ReadPrec SDL_EGLint # readListPrec :: ReadPrec [SDL_EGLint] # | |||||
| Integral SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # rem :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # div :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # mod :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # quotRem :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint) # divMod :: SDL_EGLint -> SDL_EGLint -> (SDL_EGLint, SDL_EGLint) # toInteger :: SDL_EGLint -> Integer # | |||||
| Real SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_EGLint -> Rational # | |||||
| Show SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLint -> ShowS # show :: SDL_EGLint -> String # showList :: [SDL_EGLint] -> ShowS # | |||||
| Eq SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Ord SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLint -> SDL_EGLint -> Ordering # (<) :: SDL_EGLint -> SDL_EGLint -> Bool # (<=) :: SDL_EGLint -> SDL_EGLint -> Bool # (>) :: SDL_EGLint -> SDL_EGLint -> Bool # (>=) :: SDL_EGLint -> SDL_EGLint -> Bool # max :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # min :: SDL_EGLint -> SDL_EGLint -> SDL_EGLint # | |||||
| Prim SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_EGLint -> Int# # sizeOf# :: SDL_EGLint -> Int# # alignmentOfType# :: Proxy SDL_EGLint -> Int# # alignment# :: SDL_EGLint -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_EGLint # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_EGLint #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_EGLint -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_EGLint # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_EGLint #) # writeOffAddr# :: Addr# -> Int# -> SDL_EGLint -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_EGLint -> State# s -> State# s # | |||||
| HasFFIType SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_EGLint -> FFIType SDL_EGLint # fromFFIType :: FFIType SDL_EGLint -> SDL_EGLint # | |||||
| ReadRaw SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLint -> IO SDL_EGLint # | |||||
| StaticSize SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLint -> SDL_EGLint -> IO () # | |||||
| Bitfield SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_EGLint "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CInt => HasField "unwrap" SDL_EGLint ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLint -> (ty -> SDL_EGLint, ty) # | |||||
| ty ~ CInt => HasField "unwrap" (Ptr SDL_EGLint) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLint -> Ptr ty # | |||||
| type Rep SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLint = D1 ('MetaData "SDL_EGLint" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLint" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CInt))) | |||||
| type FFIType SDL_EGLint Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLint "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLAttribArrayCallback_Aux Source #
Auxiliary type used by SDL_EGLAttribArrayCallback
- C declaration
SDL_EGLAttribArrayCallback, defined atSDL3/SDL_video.h 420:34
Constructors
| SDL_EGLAttribArrayCallback_Aux | |
Instances
| Generic SDL_EGLAttribArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| FromFunPtr SDL_EGLAttribArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| ToFunPtr SDL_EGLAttribArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toFunPtr :: SDL_EGLAttribArrayCallback_Aux -> IO (FunPtr SDL_EGLAttribArrayCallback_Aux) # | |||||
| HasCField SDL_EGLAttribArrayCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ (Ptr Void -> IO (Ptr SDL_EGLAttrib)) => HasField "unwrap" SDL_EGLAttribArrayCallback_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLAttribArrayCallback_Aux -> (ty -> SDL_EGLAttribArrayCallback_Aux, ty) # | |||||
| ty ~ (Ptr Void -> IO (Ptr SDL_EGLAttrib)) => HasField "unwrap" (Ptr SDL_EGLAttribArrayCallback_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLAttribArrayCallback_Aux -> Ptr ty # | |||||
| type Rep SDL_EGLAttribArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLAttribArrayCallback_Aux = D1 ('MetaData "SDL_EGLAttribArrayCallback_Aux" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLAttribArrayCallback_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> IO (Ptr SDL_EGLAttrib))))) | |||||
| type CFieldType SDL_EGLAttribArrayCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLAttribArrayCallback Source #
EGL platform attribute initialization callback.
This is called when SDL is attempting to create an EGL context, to let the app add extra attributes to its eglGetPlatformDisplay() call.
The callback should return a pointer to an EGL attribute array terminated with EGL_NONE. If this function returns NULL, the SDL_CreateWindow process will fail gracefully.
The returned pointer should be allocated with SDL_malloc() and will be passed to SDL_free().
The arrays returned by each callback will be appended to the existing attribute arrays defined by SDL.
userdata- an app-controlled pointer that is passed to the callback.
- Returns
- a newly-allocated array of attributes, terminated with
EGL_NONE. - See also
sDL_EGL_SetAttributeCallbacks- C declaration
SDL_EGLAttribArrayCallback, defined atSDL3/SDL_video.h 420:34
Since: 3.2.0
Constructors
| SDL_EGLAttribArrayCallback | |
Fields | |
Instances
| Storable SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLAttribArrayCallback -> Int # alignment :: SDL_EGLAttribArrayCallback -> Int # peekElemOff :: Ptr SDL_EGLAttribArrayCallback -> Int -> IO SDL_EGLAttribArrayCallback # pokeElemOff :: Ptr SDL_EGLAttribArrayCallback -> Int -> SDL_EGLAttribArrayCallback -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLAttribArrayCallback # pokeByteOff :: Ptr b -> Int -> SDL_EGLAttribArrayCallback -> IO () # peek :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback # poke :: Ptr SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> IO () # | |||||
| Generic SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_EGLAttribArrayCallback -> Rep SDL_EGLAttribArrayCallback x # to :: Rep SDL_EGLAttribArrayCallback x -> SDL_EGLAttribArrayCallback # | |||||
| Show SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLAttribArrayCallback -> ShowS # show :: SDL_EGLAttribArrayCallback -> String # showList :: [SDL_EGLAttribArrayCallback] -> ShowS # | |||||
| Eq SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # (/=) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # | |||||
| Ord SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Ordering # (<) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # (<=) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # (>) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # (>=) :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> Bool # max :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback # min :: SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback # | |||||
| HasFFIType SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ReadRaw SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLAttribArrayCallback -> IO SDL_EGLAttribArrayCallback # | |||||
| StaticSize SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_EGLAttribArrayCallback -> Int # staticAlignment :: Proxy SDL_EGLAttribArrayCallback -> Int # | |||||
| WriteRaw SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLAttribArrayCallback -> SDL_EGLAttribArrayCallback -> IO () # | |||||
| HasCField SDL_EGLAttribArrayCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ FunPtr SDL_EGLAttribArrayCallback_Aux => HasField "unwrap" SDL_EGLAttribArrayCallback ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLAttribArrayCallback -> (ty -> SDL_EGLAttribArrayCallback, ty) # | |||||
| ty ~ FunPtr SDL_EGLAttribArrayCallback_Aux => HasField "unwrap" (Ptr SDL_EGLAttribArrayCallback) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLAttribArrayCallback -> Ptr ty # | |||||
| type Rep SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLAttribArrayCallback = D1 ('MetaData "SDL_EGLAttribArrayCallback" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLAttribArrayCallback" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_EGLAttribArrayCallback_Aux)))) | |||||
| type FFIType SDL_EGLAttribArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLAttribArrayCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_EGLIntArrayCallback_Aux Source #
Auxiliary type used by SDL_EGLIntArrayCallback
- C declaration
SDL_EGLIntArrayCallback, defined atSDL3/SDL_video.h 451:31
Constructors
| SDL_EGLIntArrayCallback_Aux | |
Fields
| |
Instances
| Generic SDL_EGLIntArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_EGLIntArrayCallback_Aux -> Rep SDL_EGLIntArrayCallback_Aux x # to :: Rep SDL_EGLIntArrayCallback_Aux x -> SDL_EGLIntArrayCallback_Aux # | |||||
| FromFunPtr SDL_EGLIntArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| ToFunPtr SDL_EGLIntArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toFunPtr :: SDL_EGLIntArrayCallback_Aux -> IO (FunPtr SDL_EGLIntArrayCallback_Aux) # | |||||
| HasCField SDL_EGLIntArrayCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ (Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint)) => HasField "unwrap" SDL_EGLIntArrayCallback_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLIntArrayCallback_Aux -> (ty -> SDL_EGLIntArrayCallback_Aux, ty) # | |||||
| ty ~ (Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint)) => HasField "unwrap" (Ptr SDL_EGLIntArrayCallback_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLIntArrayCallback_Aux -> Ptr ty # | |||||
| type Rep SDL_EGLIntArrayCallback_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLIntArrayCallback_Aux = D1 ('MetaData "SDL_EGLIntArrayCallback_Aux" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLIntArrayCallback_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint))))) | |||||
| type CFieldType SDL_EGLIntArrayCallback_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type CFieldType SDL_EGLIntArrayCallback_Aux "unwrap" = Ptr Void -> SDL_EGLDisplay -> SDL_EGLConfig -> IO (Ptr SDL_EGLint) | |||||
newtype SDL_EGLIntArrayCallback Source #
EGL surface/context attribute initialization callback types.
This is called when SDL is attempting to create an EGL surface, to let the app add extra attributes to its eglCreateWindowSurface() or eglCreateContext calls.
For convenience, the EGLDisplay and EGLConfig to use are provided to the callback.
The callback should return a pointer to an EGL attribute array terminated with EGL_NONE. If this function returns NULL, the SDL_CreateWindow process will fail gracefully.
The returned pointer should be allocated with SDL_malloc() and will be passed to SDL_free().
The arrays returned by each callback will be appended to the existing attribute arrays defined by SDL.
userdata- an app-controlled pointer that is passed to the callback.
display- the EGL display to be used.
config- the EGL config to be used.
- Returns
- a newly-allocated array of attributes, terminated with
EGL_NONE. - See also
sDL_EGL_SetAttributeCallbacks- C declaration
SDL_EGLIntArrayCallback, defined atSDL3/SDL_video.h 451:31
Since: 3.2.0
Constructors
| SDL_EGLIntArrayCallback | |
Fields | |
Instances
| Storable SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_EGLIntArrayCallback -> Int # alignment :: SDL_EGLIntArrayCallback -> Int # peekElemOff :: Ptr SDL_EGLIntArrayCallback -> Int -> IO SDL_EGLIntArrayCallback # pokeElemOff :: Ptr SDL_EGLIntArrayCallback -> Int -> SDL_EGLIntArrayCallback -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_EGLIntArrayCallback # pokeByteOff :: Ptr b -> Int -> SDL_EGLIntArrayCallback -> IO () # peek :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback # poke :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO () # | |||||
| Generic SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_EGLIntArrayCallback -> Rep SDL_EGLIntArrayCallback x # to :: Rep SDL_EGLIntArrayCallback x -> SDL_EGLIntArrayCallback # | |||||
| Show SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_EGLIntArrayCallback -> ShowS # show :: SDL_EGLIntArrayCallback -> String # showList :: [SDL_EGLIntArrayCallback] -> ShowS # | |||||
| Eq SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # (/=) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # | |||||
| Ord SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Ordering # (<) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # (<=) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # (>) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # (>=) :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> Bool # max :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback # min :: SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback # | |||||
| HasFFIType SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ReadRaw SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_EGLIntArrayCallback -> IO SDL_EGLIntArrayCallback # | |||||
| StaticSize SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| WriteRaw SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_EGLIntArrayCallback -> SDL_EGLIntArrayCallback -> IO () # | |||||
| HasCField SDL_EGLIntArrayCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ FunPtr SDL_EGLIntArrayCallback_Aux => HasField "unwrap" SDL_EGLIntArrayCallback ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_EGLIntArrayCallback -> (ty -> SDL_EGLIntArrayCallback, ty) # | |||||
| ty ~ FunPtr SDL_EGLIntArrayCallback_Aux => HasField "unwrap" (Ptr SDL_EGLIntArrayCallback) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_EGLIntArrayCallback -> Ptr ty # | |||||
| type Rep SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_EGLIntArrayCallback = D1 ('MetaData "SDL_EGLIntArrayCallback" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_EGLIntArrayCallback" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_EGLIntArrayCallback_Aux)))) | |||||
| type FFIType SDL_EGLIntArrayCallback Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_EGLIntArrayCallback "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
newtype SDL_GLAttr Source #
An enumeration of OpenGL configuration attributes.
While you can set most OpenGL attributes normally, the attributes listed above must be known before SDL creates the window that will be used with the OpenGL context. These attributes are set and read with SDL_GL_SetAttribute() and SDL_GL_GetAttribute().
In some cases, these attributes are minimum requests; the GL does not promise to give you exactly what you asked for. It's possible to ask for a 16-bit depth buffer and get a 24-bit one instead, for example, or to ask for no stencil buffer and still have one available. Context creation should fail if the GL can't provide your requested attributes at a minimum, but you should check to see exactly what you got.
- C declaration
enum SDL_GLAttr, defined atSDL3/SDL_video.h 470:14
Since: 3.2.0
Constructors
| SDL_GLAttr | |
Instances
| Storable SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLAttr -> Int # alignment :: SDL_GLAttr -> Int # peekElemOff :: Ptr SDL_GLAttr -> Int -> IO SDL_GLAttr # pokeElemOff :: Ptr SDL_GLAttr -> Int -> SDL_GLAttr -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLAttr # pokeByteOff :: Ptr b -> Int -> SDL_GLAttr -> IO () # peek :: Ptr SDL_GLAttr -> IO SDL_GLAttr # poke :: Ptr SDL_GLAttr -> SDL_GLAttr -> IO () # | |||||
| Generic SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Read SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_GLAttr # readList :: ReadS [SDL_GLAttr] # readPrec :: ReadPrec SDL_GLAttr # readListPrec :: ReadPrec [SDL_GLAttr] # | |||||
| Show SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLAttr -> ShowS # show :: SDL_GLAttr -> String # showList :: [SDL_GLAttr] -> ShowS # | |||||
| Eq SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Ord SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLAttr -> SDL_GLAttr -> Ordering # (<) :: SDL_GLAttr -> SDL_GLAttr -> Bool # (<=) :: SDL_GLAttr -> SDL_GLAttr -> Bool # (>) :: SDL_GLAttr -> SDL_GLAttr -> Bool # (>=) :: SDL_GLAttr -> SDL_GLAttr -> Bool # max :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr # min :: SDL_GLAttr -> SDL_GLAttr -> SDL_GLAttr # | |||||
| Prim SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_GLAttr -> Int# # sizeOf# :: SDL_GLAttr -> Int# # alignmentOfType# :: Proxy SDL_GLAttr -> Int# # alignment# :: SDL_GLAttr -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GLAttr # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GLAttr #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GLAttr -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GLAttr -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GLAttr # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GLAttr #) # writeOffAddr# :: Addr# -> Int# -> SDL_GLAttr -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GLAttr -> State# s -> State# s # | |||||
| CEnum SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_GLAttr -> SDL_GLAttr # fromCEnum :: SDL_GLAttr -> CEnumZ SDL_GLAttr # declaredValues :: proxy SDL_GLAttr -> DeclaredValues SDL_GLAttr # showsUndeclared :: proxy SDL_GLAttr -> Int -> CEnumZ SDL_GLAttr -> ShowS # readPrecUndeclared :: ReadPrec SDL_GLAttr # isDeclared :: SDL_GLAttr -> Bool # mkDeclared :: CEnumZ SDL_GLAttr -> Maybe SDL_GLAttr # | |||||
| SequentialCEnum SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_GLAttr -> FFIType SDL_GLAttr # fromFFIType :: FFIType SDL_GLAttr -> SDL_GLAttr # | |||||
| ReadRaw SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_GLAttr -> IO SDL_GLAttr # | |||||
| StaticSize SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLAttr -> SDL_GLAttr -> IO () # | |||||
| HasCField SDL_GLAttr "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GLAttr ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLAttr -> (ty -> SDL_GLAttr, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GLAttr) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLAttr -> Ptr ty # | |||||
| type Rep SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLAttr = D1 ('MetaData "SDL_GLAttr" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLAttr" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_GLAttr Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLAttr "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_GL_RED_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the red channel of the color buffer; defaults to 8.
- C declaration
SDL_GL_RED_SIZE, defined atSDL3/SDL_video.h 472:5
pattern SDL_GL_GREEN_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the green channel of the color buffer; defaults to 8.
- C declaration
SDL_GL_GREEN_SIZE, defined atSDL3/SDL_video.h 473:5
pattern SDL_GL_BLUE_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the blue channel of the color buffer; defaults to 8.
- C declaration
SDL_GL_BLUE_SIZE, defined atSDL3/SDL_video.h 474:5
pattern SDL_GL_ALPHA_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the alpha channel of the color buffer; defaults to 8.
- C declaration
SDL_GL_ALPHA_SIZE, defined atSDL3/SDL_video.h 475:5
pattern SDL_GL_BUFFER_SIZE :: SDL_GLAttr Source #
the minimum number of bits for frame buffer size; defaults to 0.
- C declaration
SDL_GL_BUFFER_SIZE, defined atSDL3/SDL_video.h 476:5
pattern SDL_GL_DOUBLEBUFFER :: SDL_GLAttr Source #
whether the output is single or double buffered; defaults to double buffering on.
- C declaration
SDL_GL_DOUBLEBUFFER, defined atSDL3/SDL_video.h 477:5
pattern SDL_GL_DEPTH_SIZE :: SDL_GLAttr Source #
the minimum number of bits in the depth buffer; defaults to 16.
- C declaration
SDL_GL_DEPTH_SIZE, defined atSDL3/SDL_video.h 478:5
pattern SDL_GL_STENCIL_SIZE :: SDL_GLAttr Source #
the minimum number of bits in the stencil buffer; defaults to 0.
- C declaration
SDL_GL_STENCIL_SIZE, defined atSDL3/SDL_video.h 479:5
pattern SDL_GL_ACCUM_RED_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the red channel of the accumulation buffer; defaults to 0.
- C declaration
SDL_GL_ACCUM_RED_SIZE, defined atSDL3/SDL_video.h 480:5
pattern SDL_GL_ACCUM_GREEN_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the green channel of the accumulation buffer; defaults to 0.
- C declaration
SDL_GL_ACCUM_GREEN_SIZE, defined atSDL3/SDL_video.h 481:5
pattern SDL_GL_ACCUM_BLUE_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the blue channel of the accumulation buffer; defaults to 0.
- C declaration
SDL_GL_ACCUM_BLUE_SIZE, defined atSDL3/SDL_video.h 482:5
pattern SDL_GL_ACCUM_ALPHA_SIZE :: SDL_GLAttr Source #
the minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0.
- C declaration
SDL_GL_ACCUM_ALPHA_SIZE, defined atSDL3/SDL_video.h 483:5
pattern SDL_GL_STEREO :: SDL_GLAttr Source #
whether the output is stereo 3D; defaults to off.
- C declaration
SDL_GL_STEREO, defined atSDL3/SDL_video.h 484:5
pattern SDL_GL_MULTISAMPLEBUFFERS :: SDL_GLAttr Source #
the number of buffers used for multisample anti-aliasing; defaults to 0.
- C declaration
SDL_GL_MULTISAMPLEBUFFERS, defined atSDL3/SDL_video.h 485:5
pattern SDL_GL_MULTISAMPLESAMPLES :: SDL_GLAttr Source #
the number of samples used around the current pixel used for multisample anti-aliasing.
- C declaration
SDL_GL_MULTISAMPLESAMPLES, defined atSDL3/SDL_video.h 486:5
pattern SDL_GL_ACCELERATED_VISUAL :: SDL_GLAttr Source #
set to 1 to require hardware acceleration, set to 0 to force software rendering; defaults to allow either.
- C declaration
SDL_GL_ACCELERATED_VISUAL, defined atSDL3/SDL_video.h 487:5
pattern SDL_GL_RETAINED_BACKING :: SDL_GLAttr Source #
not used (deprecated).
- C declaration
SDL_GL_RETAINED_BACKING, defined atSDL3/SDL_video.h 488:5
pattern SDL_GL_CONTEXT_MAJOR_VERSION :: SDL_GLAttr Source #
OpenGL context major version.
- C declaration
SDL_GL_CONTEXT_MAJOR_VERSION, defined atSDL3/SDL_video.h 489:5
pattern SDL_GL_CONTEXT_MINOR_VERSION :: SDL_GLAttr Source #
OpenGL context minor version.
- C declaration
SDL_GL_CONTEXT_MINOR_VERSION, defined atSDL3/SDL_video.h 490:5
pattern SDL_GL_CONTEXT_FLAGS :: SDL_GLAttr Source #
some combination of 0 or more of elements of the SDL_GLContextFlag enumeration; defaults to 0.
- C declaration
SDL_GL_CONTEXT_FLAGS, defined atSDL3/SDL_video.h 491:5
pattern SDL_GL_CONTEXT_PROFILE_MASK :: SDL_GLAttr Source #
type of GL context (Core, Compatibility, ES). See SDL_GLProfile; default value depends on platform.
- C declaration
SDL_GL_CONTEXT_PROFILE_MASK, defined atSDL3/SDL_video.h 492:5
pattern SDL_GL_SHARE_WITH_CURRENT_CONTEXT :: SDL_GLAttr Source #
OpenGL context sharing; defaults to 0.
- C declaration
SDL_GL_SHARE_WITH_CURRENT_CONTEXT, defined atSDL3/SDL_video.h 493:5
pattern SDL_GL_FRAMEBUFFER_SRGB_CAPABLE :: SDL_GLAttr Source #
requests sRGB-capable visual if 1. Defaults to -1 ("don't care"). This is a request; GL drivers might not comply!
- C declaration
SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, defined atSDL3/SDL_video.h 494:5
pattern SDL_GL_CONTEXT_RELEASE_BEHAVIOR :: SDL_GLAttr Source #
sets context the release behavior. See SDL_GLContextReleaseFlag; defaults to FLUSH.
- C declaration
SDL_GL_CONTEXT_RELEASE_BEHAVIOR, defined atSDL3/SDL_video.h 495:5
pattern SDL_GL_CONTEXT_RESET_NOTIFICATION :: SDL_GLAttr Source #
set context reset notification. See SDL_GLContextResetNotification; defaults to NO_NOTIFICATION.
- C declaration
SDL_GL_CONTEXT_RESET_NOTIFICATION, defined atSDL3/SDL_video.h 496:5
pattern SDL_GL_CONTEXT_NO_ERROR :: SDL_GLAttr Source #
- C declaration
SDL_GL_CONTEXT_NO_ERROR, defined atSDL3/SDL_video.h 497:5
pattern SDL_GL_FLOATBUFFERS :: SDL_GLAttr Source #
- C declaration
SDL_GL_FLOATBUFFERS, defined atSDL3/SDL_video.h 498:5
pattern SDL_GL_EGL_PLATFORM :: SDL_GLAttr Source #
- C declaration
SDL_GL_EGL_PLATFORM, defined atSDL3/SDL_video.h 499:5
newtype SDL_GLProfile Source #
Possible values to be set for the SDL_GL_CONTEXT_PROFILE_MASK attribute.
- C declaration
SDL_GLProfile, defined atSDL3/SDL_video.h 507:16
Since: 3.2.0
Constructors
| SDL_GLProfile | |
Instances
| Bits SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # (.|.) :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # xor :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # complement :: SDL_GLProfile -> SDL_GLProfile # shift :: SDL_GLProfile -> Int -> SDL_GLProfile # rotate :: SDL_GLProfile -> Int -> SDL_GLProfile # bit :: Int -> SDL_GLProfile # setBit :: SDL_GLProfile -> Int -> SDL_GLProfile # clearBit :: SDL_GLProfile -> Int -> SDL_GLProfile # complementBit :: SDL_GLProfile -> Int -> SDL_GLProfile # testBit :: SDL_GLProfile -> Int -> Bool # bitSizeMaybe :: SDL_GLProfile -> Maybe Int # bitSize :: SDL_GLProfile -> Int # isSigned :: SDL_GLProfile -> Bool # shiftL :: SDL_GLProfile -> Int -> SDL_GLProfile # unsafeShiftL :: SDL_GLProfile -> Int -> SDL_GLProfile # shiftR :: SDL_GLProfile -> Int -> SDL_GLProfile # unsafeShiftR :: SDL_GLProfile -> Int -> SDL_GLProfile # rotateL :: SDL_GLProfile -> Int -> SDL_GLProfile # rotateR :: SDL_GLProfile -> Int -> SDL_GLProfile # popCount :: SDL_GLProfile -> Int # | |||||
| FiniteBits SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods finiteBitSize :: SDL_GLProfile -> Int # countLeadingZeros :: SDL_GLProfile -> Int # countTrailingZeros :: SDL_GLProfile -> Int # | |||||
| Bounded SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_GLProfile -> SDL_GLProfile # pred :: SDL_GLProfile -> SDL_GLProfile # toEnum :: Int -> SDL_GLProfile # fromEnum :: SDL_GLProfile -> Int # enumFrom :: SDL_GLProfile -> [SDL_GLProfile] # enumFromThen :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile] # enumFromTo :: SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile] # enumFromThenTo :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile -> [SDL_GLProfile] # | |||||
| Storable SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLProfile -> Int # alignment :: SDL_GLProfile -> Int # peekElemOff :: Ptr SDL_GLProfile -> Int -> IO SDL_GLProfile # pokeElemOff :: Ptr SDL_GLProfile -> Int -> SDL_GLProfile -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLProfile # pokeByteOff :: Ptr b -> Int -> SDL_GLProfile -> IO () # peek :: Ptr SDL_GLProfile -> IO SDL_GLProfile # poke :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO () # | |||||
| Generic SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Ix SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_GLProfile, SDL_GLProfile) -> [SDL_GLProfile] # index :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int # unsafeIndex :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Int # inRange :: (SDL_GLProfile, SDL_GLProfile) -> SDL_GLProfile -> Bool # rangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int # unsafeRangeSize :: (SDL_GLProfile, SDL_GLProfile) -> Int # | |||||
| Num SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # (-) :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # (*) :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # negate :: SDL_GLProfile -> SDL_GLProfile # abs :: SDL_GLProfile -> SDL_GLProfile # signum :: SDL_GLProfile -> SDL_GLProfile # fromInteger :: Integer -> SDL_GLProfile # | |||||
| Read SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_GLProfile # readList :: ReadS [SDL_GLProfile] # | |||||
| Integral SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # rem :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # div :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # mod :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # quotRem :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile) # divMod :: SDL_GLProfile -> SDL_GLProfile -> (SDL_GLProfile, SDL_GLProfile) # toInteger :: SDL_GLProfile -> Integer # | |||||
| Real SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_GLProfile -> Rational # | |||||
| Show SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLProfile -> ShowS # show :: SDL_GLProfile -> String # showList :: [SDL_GLProfile] -> ShowS # | |||||
| Eq SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_GLProfile -> SDL_GLProfile -> Bool # (/=) :: SDL_GLProfile -> SDL_GLProfile -> Bool # | |||||
| Ord SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLProfile -> SDL_GLProfile -> Ordering # (<) :: SDL_GLProfile -> SDL_GLProfile -> Bool # (<=) :: SDL_GLProfile -> SDL_GLProfile -> Bool # (>) :: SDL_GLProfile -> SDL_GLProfile -> Bool # (>=) :: SDL_GLProfile -> SDL_GLProfile -> Bool # max :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # min :: SDL_GLProfile -> SDL_GLProfile -> SDL_GLProfile # | |||||
| Prim SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_GLProfile -> Int# # sizeOf# :: SDL_GLProfile -> Int# # alignmentOfType# :: Proxy SDL_GLProfile -> Int# # alignment# :: SDL_GLProfile -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GLProfile # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GLProfile #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GLProfile -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GLProfile # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GLProfile #) # writeOffAddr# :: Addr# -> Int# -> SDL_GLProfile -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GLProfile -> State# s -> State# s # | |||||
| HasFFIType SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods | |||||
| ReadRaw SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_GLProfile -> IO SDL_GLProfile # | |||||
| StaticSize SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLProfile -> SDL_GLProfile -> IO () # | |||||
| Bitfield SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_GLProfile "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GLProfile ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLProfile -> (ty -> SDL_GLProfile, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GLProfile) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLProfile -> Ptr ty # | |||||
| type Rep SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLProfile = D1 ('MetaData "SDL_GLProfile" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLProfile" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GLProfile Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLProfile "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_GL_CONTEXT_PROFILE_CORE :: CInt Source #
OpenGL Core Profile context
- C declaration
macro SDL_GL_CONTEXT_PROFILE_CORE, defined atSDL3/SDL_video.h 509:9
sDL_GL_CONTEXT_PROFILE_COMPATIBILITY :: CInt Source #
OpenGL Compatibility Profile context
- C declaration
macro SDL_GL_CONTEXT_PROFILE_COMPATIBILITY, defined atSDL3/SDL_video.h 510:9
sDL_GL_CONTEXT_PROFILE_ES :: CInt Source #
GLX_CONTEXT_ES2_PROFILE_BIT_EXT
- C declaration
macro SDL_GL_CONTEXT_PROFILE_ES, defined atSDL3/SDL_video.h 511:9
newtype SDL_GLContextFlag Source #
Possible flags to be set for the SDL_GL_CONTEXT_FLAGS attribute.
- C declaration
SDL_GLContextFlag, defined atSDL3/SDL_video.h 519:16
Since: 3.2.0
Constructors
| SDL_GLContextFlag | |
Instances
| Bits SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # (.|.) :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # xor :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # complement :: SDL_GLContextFlag -> SDL_GLContextFlag # shift :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # rotate :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # zeroBits :: SDL_GLContextFlag # bit :: Int -> SDL_GLContextFlag # setBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # clearBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # complementBit :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # testBit :: SDL_GLContextFlag -> Int -> Bool # bitSizeMaybe :: SDL_GLContextFlag -> Maybe Int # bitSize :: SDL_GLContextFlag -> Int # isSigned :: SDL_GLContextFlag -> Bool # shiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # unsafeShiftL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # shiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # unsafeShiftR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # rotateL :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # rotateR :: SDL_GLContextFlag -> Int -> SDL_GLContextFlag # popCount :: SDL_GLContextFlag -> Int # | |||||
| FiniteBits SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Bounded SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_GLContextFlag -> SDL_GLContextFlag # pred :: SDL_GLContextFlag -> SDL_GLContextFlag # toEnum :: Int -> SDL_GLContextFlag # fromEnum :: SDL_GLContextFlag -> Int # enumFrom :: SDL_GLContextFlag -> [SDL_GLContextFlag] # enumFromThen :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag] # enumFromTo :: SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag] # enumFromThenTo :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag -> [SDL_GLContextFlag] # | |||||
| Storable SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLContextFlag -> Int # alignment :: SDL_GLContextFlag -> Int # peekElemOff :: Ptr SDL_GLContextFlag -> Int -> IO SDL_GLContextFlag # pokeElemOff :: Ptr SDL_GLContextFlag -> Int -> SDL_GLContextFlag -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLContextFlag # pokeByteOff :: Ptr b -> Int -> SDL_GLContextFlag -> IO () # peek :: Ptr SDL_GLContextFlag -> IO SDL_GLContextFlag # poke :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO () # | |||||
| Generic SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_GLContextFlag -> Rep SDL_GLContextFlag x # to :: Rep SDL_GLContextFlag x -> SDL_GLContextFlag # | |||||
| Ix SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_GLContextFlag, SDL_GLContextFlag) -> [SDL_GLContextFlag] # index :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int # unsafeIndex :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Int # inRange :: (SDL_GLContextFlag, SDL_GLContextFlag) -> SDL_GLContextFlag -> Bool # rangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int # unsafeRangeSize :: (SDL_GLContextFlag, SDL_GLContextFlag) -> Int # | |||||
| Num SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # (-) :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # (*) :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # negate :: SDL_GLContextFlag -> SDL_GLContextFlag # abs :: SDL_GLContextFlag -> SDL_GLContextFlag # signum :: SDL_GLContextFlag -> SDL_GLContextFlag # fromInteger :: Integer -> SDL_GLContextFlag # | |||||
| Read SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_GLContextFlag # readList :: ReadS [SDL_GLContextFlag] # | |||||
| Integral SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # rem :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # div :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # mod :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # quotRem :: SDL_GLContextFlag -> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag) # divMod :: SDL_GLContextFlag -> SDL_GLContextFlag -> (SDL_GLContextFlag, SDL_GLContextFlag) # toInteger :: SDL_GLContextFlag -> Integer # | |||||
| Real SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toRational :: SDL_GLContextFlag -> Rational # | |||||
| Show SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLContextFlag -> ShowS # show :: SDL_GLContextFlag -> String # showList :: [SDL_GLContextFlag] -> ShowS # | |||||
| Eq SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # (/=) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # | |||||
| Ord SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLContextFlag -> SDL_GLContextFlag -> Ordering # (<) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # (<=) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # (>) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # (>=) :: SDL_GLContextFlag -> SDL_GLContextFlag -> Bool # max :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # min :: SDL_GLContextFlag -> SDL_GLContextFlag -> SDL_GLContextFlag # | |||||
| Prim SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_GLContextFlag -> Int# # sizeOf# :: SDL_GLContextFlag -> Int# # alignmentOfType# :: Proxy SDL_GLContextFlag -> Int# # alignment# :: SDL_GLContextFlag -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextFlag # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GLContextFlag -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GLContextFlag # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextFlag #) # writeOffAddr# :: Addr# -> Int# -> SDL_GLContextFlag -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GLContextFlag -> State# s -> State# s # | |||||
| HasFFIType SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_GLContextFlag -> FFIType SDL_GLContextFlag # fromFFIType :: FFIType SDL_GLContextFlag -> SDL_GLContextFlag # | |||||
| ReadRaw SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| StaticSize SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_GLContextFlag -> Int # | |||||
| WriteRaw SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLContextFlag -> SDL_GLContextFlag -> IO () # | |||||
| Bitfield SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasCField SDL_GLContextFlag "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GLContextFlag ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLContextFlag -> (ty -> SDL_GLContextFlag, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GLContextFlag) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLContextFlag -> Ptr ty # | |||||
| type Rep SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLContextFlag = D1 ('MetaData "SDL_GLContextFlag" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLContextFlag" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GLContextFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLContextFlag "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_GL_CONTEXT_DEBUG_FLAG :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_DEBUG_FLAG, defined atSDL3/SDL_video.h 521:9
sDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG, defined atSDL3/SDL_video.h 522:9
sDL_GL_CONTEXT_ROBUST_ACCESS_FLAG :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG, defined atSDL3/SDL_video.h 523:9
sDL_GL_CONTEXT_RESET_ISOLATION_FLAG :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_RESET_ISOLATION_FLAG, defined atSDL3/SDL_video.h 524:9
newtype SDL_GLContextReleaseFlag Source #
Possible values to be set for the SDL_GL_CONTEXT_RELEASE_BEHAVIOR attribute.
- C declaration
SDL_GLContextReleaseFlag, defined atSDL3/SDL_video.h 533:16
Since: 3.2.0
Constructors
| SDL_GLContextReleaseFlag | |
Instances
| Bits SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # (.|.) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # xor :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # complement :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # shift :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # rotate :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # zeroBits :: SDL_GLContextReleaseFlag # bit :: Int -> SDL_GLContextReleaseFlag # setBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # clearBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # complementBit :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # testBit :: SDL_GLContextReleaseFlag -> Int -> Bool # bitSizeMaybe :: SDL_GLContextReleaseFlag -> Maybe Int # bitSize :: SDL_GLContextReleaseFlag -> Int # isSigned :: SDL_GLContextReleaseFlag -> Bool # shiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # unsafeShiftL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # shiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # unsafeShiftR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # rotateL :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # rotateR :: SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag # popCount :: SDL_GLContextReleaseFlag -> Int # | |||||
| FiniteBits SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods finiteBitSize :: SDL_GLContextReleaseFlag -> Int # | |||||
| Bounded SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # pred :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # toEnum :: Int -> SDL_GLContextReleaseFlag # fromEnum :: SDL_GLContextReleaseFlag -> Int # enumFrom :: SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag] # enumFromThen :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag] # enumFromTo :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag] # enumFromThenTo :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> [SDL_GLContextReleaseFlag] # | |||||
| Storable SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLContextReleaseFlag -> Int # alignment :: SDL_GLContextReleaseFlag -> Int # peekElemOff :: Ptr SDL_GLContextReleaseFlag -> Int -> IO SDL_GLContextReleaseFlag # pokeElemOff :: Ptr SDL_GLContextReleaseFlag -> Int -> SDL_GLContextReleaseFlag -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLContextReleaseFlag # pokeByteOff :: Ptr b -> Int -> SDL_GLContextReleaseFlag -> IO () # peek :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag # poke :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO () # | |||||
| Generic SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_GLContextReleaseFlag -> Rep SDL_GLContextReleaseFlag x # to :: Rep SDL_GLContextReleaseFlag x -> SDL_GLContextReleaseFlag # | |||||
| Ix SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> [SDL_GLContextReleaseFlag] # index :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> SDL_GLContextReleaseFlag -> Int # unsafeIndex :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> SDL_GLContextReleaseFlag -> Int # inRange :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> SDL_GLContextReleaseFlag -> Bool # rangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int # unsafeRangeSize :: (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) -> Int # | |||||
| Num SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # (-) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # (*) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # negate :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # abs :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # signum :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # | |||||
| Read SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Integral SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # rem :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # div :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # mod :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # quotRem :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) # divMod :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> (SDL_GLContextReleaseFlag, SDL_GLContextReleaseFlag) # | |||||
| Real SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| Show SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLContextReleaseFlag -> ShowS # show :: SDL_GLContextReleaseFlag -> String # showList :: [SDL_GLContextReleaseFlag] -> ShowS # | |||||
| Eq SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # (/=) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # | |||||
| Ord SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Ordering # (<) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # (<=) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # (>) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # (>=) :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> Bool # max :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # min :: SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag # | |||||
| Prim SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_GLContextReleaseFlag -> Int# # sizeOf# :: SDL_GLContextReleaseFlag -> Int# # alignmentOfType# :: Proxy SDL_GLContextReleaseFlag -> Int# # alignment# :: SDL_GLContextReleaseFlag -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextReleaseFlag # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GLContextReleaseFlag # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextReleaseFlag #) # writeOffAddr# :: Addr# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GLContextReleaseFlag -> State# s -> State# s # | |||||
| HasFFIType SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ReadRaw SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_GLContextReleaseFlag -> IO SDL_GLContextReleaseFlag # | |||||
| StaticSize SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| WriteRaw SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLContextReleaseFlag -> SDL_GLContextReleaseFlag -> IO () # | |||||
| Bitfield SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods narrow :: SDL_GLContextReleaseFlag -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GLContextReleaseFlag # | |||||
| HasCField SDL_GLContextReleaseFlag "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GLContextReleaseFlag ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLContextReleaseFlag -> (ty -> SDL_GLContextReleaseFlag, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GLContextReleaseFlag) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLContextReleaseFlag -> Ptr ty # | |||||
| type Rep SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLContextReleaseFlag = D1 ('MetaData "SDL_GLContextReleaseFlag" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLContextReleaseFlag" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GLContextReleaseFlag Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLContextReleaseFlag "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE, defined atSDL3/SDL_video.h 535:9
sDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH, defined atSDL3/SDL_video.h 536:9
newtype SDL_GLContextResetNotification Source #
Possible values to be set SDL_GL_CONTEXT_RESET_NOTIFICATION attribute.
- C declaration
SDL_GLContextResetNotification, defined atSDL3/SDL_video.h 544:16
Since: 3.2.0
Constructors
| SDL_GLContextResetNotification | |
Instances
| Bits SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (.&.) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # (.|.) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # xor :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # complement :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # shift :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # rotate :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # zeroBits :: SDL_GLContextResetNotification # bit :: Int -> SDL_GLContextResetNotification # setBit :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # clearBit :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # complementBit :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # testBit :: SDL_GLContextResetNotification -> Int -> Bool # bitSizeMaybe :: SDL_GLContextResetNotification -> Maybe Int # bitSize :: SDL_GLContextResetNotification -> Int # isSigned :: SDL_GLContextResetNotification -> Bool # shiftL :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # unsafeShiftL :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # shiftR :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # unsafeShiftR :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # rotateL :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # rotateR :: SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification # | |||||
| FiniteBits SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Bounded SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Enum SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods succ :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # pred :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # toEnum :: Int -> SDL_GLContextResetNotification # fromEnum :: SDL_GLContextResetNotification -> Int # enumFrom :: SDL_GLContextResetNotification -> [SDL_GLContextResetNotification] # enumFromThen :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> [SDL_GLContextResetNotification] # enumFromTo :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> [SDL_GLContextResetNotification] # enumFromThenTo :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> [SDL_GLContextResetNotification] # | |||||
| Storable SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_GLContextResetNotification -> Int # alignment :: SDL_GLContextResetNotification -> Int # peekElemOff :: Ptr SDL_GLContextResetNotification -> Int -> IO SDL_GLContextResetNotification # pokeElemOff :: Ptr SDL_GLContextResetNotification -> Int -> SDL_GLContextResetNotification -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GLContextResetNotification # pokeByteOff :: Ptr b -> Int -> SDL_GLContextResetNotification -> IO () # peek :: Ptr SDL_GLContextResetNotification -> IO SDL_GLContextResetNotification # poke :: Ptr SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> IO () # | |||||
| Generic SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Ix SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods range :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> [SDL_GLContextResetNotification] # index :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> SDL_GLContextResetNotification -> Int # unsafeIndex :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> SDL_GLContextResetNotification -> Int # inRange :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> SDL_GLContextResetNotification -> Bool # rangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> Int # unsafeRangeSize :: (SDL_GLContextResetNotification, SDL_GLContextResetNotification) -> Int # | |||||
| Num SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (+) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # (-) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # (*) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # negate :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # abs :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # signum :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification # | |||||
| Read SDL_GLContextResetNotification Source # | |||||
| Integral SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods quot :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # rem :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # div :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # mod :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # quotRem :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> (SDL_GLContextResetNotification, SDL_GLContextResetNotification) # divMod :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> (SDL_GLContextResetNotification, SDL_GLContextResetNotification) # | |||||
| Real SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| Show SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_GLContextResetNotification -> ShowS # show :: SDL_GLContextResetNotification -> String # showList :: [SDL_GLContextResetNotification] -> ShowS # | |||||
| Eq SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Ord SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> Ordering # (<) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> Bool # (<=) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> Bool # (>) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> Bool # (>=) :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> Bool # max :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # min :: SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> SDL_GLContextResetNotification # | |||||
| Prim SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_GLContextResetNotification -> Int# # sizeOf# :: SDL_GLContextResetNotification -> Int# # alignmentOfType# :: Proxy SDL_GLContextResetNotification -> Int# # alignment# :: SDL_GLContextResetNotification -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GLContextResetNotification # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GLContextResetNotification #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GLContextResetNotification -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GLContextResetNotification -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GLContextResetNotification # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GLContextResetNotification #) # writeOffAddr# :: Addr# -> Int# -> SDL_GLContextResetNotification -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GLContextResetNotification -> State# s -> State# s # | |||||
| HasFFIType SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ReadRaw SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| StaticSize SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_GLContextResetNotification -> Int # staticAlignment :: Proxy SDL_GLContextResetNotification -> Int # | |||||
| WriteRaw SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_GLContextResetNotification -> SDL_GLContextResetNotification -> IO () # | |||||
| Bitfield SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods narrow :: SDL_GLContextResetNotification -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GLContextResetNotification # | |||||
| HasCField SDL_GLContextResetNotification "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GLContextResetNotification ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_GLContextResetNotification -> (ty -> SDL_GLContextResetNotification, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GLContextResetNotification) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_GLContextResetNotification -> Ptr ty # | |||||
| type Rep SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_GLContextResetNotification = D1 ('MetaData "SDL_GLContextResetNotification" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GLContextResetNotification" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GLContextResetNotification Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_GLContextResetNotification "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
sDL_GL_CONTEXT_RESET_NO_NOTIFICATION :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_RESET_NO_NOTIFICATION, defined atSDL3/SDL_video.h 546:9
sDL_GL_CONTEXT_RESET_LOSE_CONTEXT :: CInt Source #
- C declaration
macro SDL_GL_CONTEXT_RESET_LOSE_CONTEXT, defined atSDL3/SDL_video.h 547:9
sDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_DISPLAY_HDR_ENABLED_BOOLEAN, literal"SDL.display.HDR_enabled", defined atSDL3/SDL_video.h 684:9
sDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_DISPLAY_KMSDRM_PANEL_ORIENTATION_NUMBER, literal"SDL.display.KMSDRM.panel_orientation", defined atSDL3/SDL_video.h 685:9
sDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_DISPLAY_WAYLAND_WL_OUTPUT_POINTER, literal"SDL.display.wayland.wl_output", defined atSDL3/SDL_video.h 686:9
sDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_DISPLAY_WINDOWS_HMONITOR_POINTER, literal"SDL.display.windows.hmonitor", defined atSDL3/SDL_video.h 687:9
sDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN, literal"SDL.window.create.always_on_top", defined atSDL3/SDL_video.h 1411:9
sDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN, literal"SDL.window.create.borderless", defined atSDL3/SDL_video.h 1412:9
sDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN, literal"SDL.window.create.constrain_popup", defined atSDL3/SDL_video.h 1413:9
sDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN, literal"SDL.window.create.focusable", defined atSDL3/SDL_video.h 1414:9
sDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN, literal"SDL.window.create.external_graphics_context", defined atSDL3/SDL_video.h 1415:9
sDL_PROP_WINDOW_CREATE_FLAGS_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER, literal"SDL.window.create.flags", defined atSDL3/SDL_video.h 1416:9
sDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN, literal"SDL.window.create.fullscreen", defined atSDL3/SDL_video.h 1417:9
sDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER, literal"SDL.window.create.height", defined atSDL3/SDL_video.h 1418:9
sDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN, literal"SDL.window.create.hidden", defined atSDL3/SDL_video.h 1419:9
sDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN, literal"SDL.window.create.high_pixel_density", defined atSDL3/SDL_video.h 1420:9
sDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN, literal"SDL.window.create.maximized", defined atSDL3/SDL_video.h 1421:9
sDL_PROP_WINDOW_CREATE_MENU_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_MENU_BOOLEAN, literal"SDL.window.create.menu", defined atSDL3/SDL_video.h 1422:9
sDL_PROP_WINDOW_CREATE_METAL_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_METAL_BOOLEAN, literal"SDL.window.create.metal", defined atSDL3/SDL_video.h 1423:9
sDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN, literal"SDL.window.create.minimized", defined atSDL3/SDL_video.h 1424:9
sDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN, literal"SDL.window.create.modal", defined atSDL3/SDL_video.h 1425:9
sDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN, literal"SDL.window.create.mouse_grabbed", defined atSDL3/SDL_video.h 1426:9
sDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN, literal"SDL.window.create.opengl", defined atSDL3/SDL_video.h 1427:9
sDL_PROP_WINDOW_CREATE_PARENT_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_PARENT_POINTER, literal"SDL.window.create.parent", defined atSDL3/SDL_video.h 1428:9
sDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN, literal"SDL.window.create.resizable", defined atSDL3/SDL_video.h 1429:9
sDL_PROP_WINDOW_CREATE_TITLE_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_TITLE_STRING, literal"SDL.window.create.title", defined atSDL3/SDL_video.h 1430:9
sDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN, literal"SDL.window.create.transparent", defined atSDL3/SDL_video.h 1431:9
sDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN, literal"SDL.window.create.tooltip", defined atSDL3/SDL_video.h 1432:9
sDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN, literal"SDL.window.create.utility", defined atSDL3/SDL_video.h 1433:9
sDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN, literal"SDL.window.create.vulkan", defined atSDL3/SDL_video.h 1434:9
sDL_PROP_WINDOW_CREATE_WIDTH_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WIDTH_NUMBER, literal"SDL.window.create.width", defined atSDL3/SDL_video.h 1435:9
sDL_PROP_WINDOW_CREATE_X_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_X_NUMBER, literal"SDL.window.create.x", defined atSDL3/SDL_video.h 1436:9
sDL_PROP_WINDOW_CREATE_Y_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_Y_NUMBER, literal"SDL.window.create.y", defined atSDL3/SDL_video.h 1437:9
sDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER, literal"SDL.window.create.cocoa.window", defined atSDL3/SDL_video.h 1438:9
sDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER, literal"SDL.window.create.cocoa.view", defined atSDL3/SDL_video.h 1439:9
sDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER, literal"SDL.window.create.uikit.windowscene", defined atSDL3/SDL_video.h 1440:9
sDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN, literal"SDL.window.create.wayland.surface_role_custom", defined atSDL3/SDL_video.h 1441:9
sDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN, literal"SDL.window.create.wayland.create_egl_window", defined atSDL3/SDL_video.h 1442:9
sDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER, literal"SDL.window.create.wayland.wl_surface", defined atSDL3/SDL_video.h 1443:9
sDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER, literal"SDL.window.create.win32.hwnd", defined atSDL3/SDL_video.h 1444:9
sDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER, literal"SDL.window.create.win32.pixel_format_hwnd", defined atSDL3/SDL_video.h 1445:9
sDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER, literal"SDL.window.create.x11.window", defined atSDL3/SDL_video.h 1446:9
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING, literal"SDL.window.create.emscripten.canvas_id", defined atSDL3/SDL_video.h 1447:9
sDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING, literal"SDL.window.create.emscripten.keyboard_element", defined atSDL3/SDL_video.h 1448:9
sDL_PROP_WINDOW_SHAPE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_SHAPE_POINTER, literal"SDL.window.shape", defined atSDL3/SDL_video.h 1630:9
sDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN, literal"SDL.window.HDR_enabled", defined atSDL3/SDL_video.h 1631:9
sDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT, literal"SDL.window.SDR_white_level", defined atSDL3/SDL_video.h 1632:9
sDL_PROP_WINDOW_HDR_HEADROOM_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_HDR_HEADROOM_FLOAT, literal"SDL.window.HDR_headroom", defined atSDL3/SDL_video.h 1633:9
sDL_PROP_WINDOW_ANDROID_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_ANDROID_WINDOW_POINTER, literal"SDL.window.android.window", defined atSDL3/SDL_video.h 1634:9
sDL_PROP_WINDOW_ANDROID_SURFACE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_ANDROID_SURFACE_POINTER, literal"SDL.window.android.surface", defined atSDL3/SDL_video.h 1635:9
sDL_PROP_WINDOW_UIKIT_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_UIKIT_WINDOW_POINTER, literal"SDL.window.uikit.window", defined atSDL3/SDL_video.h 1636:9
sDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER, literal"SDL.window.uikit.metal_view_tag", defined atSDL3/SDL_video.h 1637:9
sDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER, literal"SDL.window.uikit.opengl.framebuffer", defined atSDL3/SDL_video.h 1638:9
sDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER, literal"SDL.window.uikit.opengl.renderbuffer", defined atSDL3/SDL_video.h 1639:9
sDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER, literal"SDL.window.uikit.opengl.resolve_framebuffer", defined atSDL3/SDL_video.h 1640:9
sDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER, literal"SDL.window.kmsdrm.dev_index", defined atSDL3/SDL_video.h 1641:9
sDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER, literal"SDL.window.kmsdrm.drm_fd", defined atSDL3/SDL_video.h 1642:9
sDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER, literal"SDL.window.kmsdrm.gbm_dev", defined atSDL3/SDL_video.h 1643:9
sDL_PROP_WINDOW_COCOA_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_COCOA_WINDOW_POINTER, literal"SDL.window.cocoa.window", defined atSDL3/SDL_video.h 1644:9
sDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER, literal"SDL.window.cocoa.metal_view_tag", defined atSDL3/SDL_video.h 1645:9
sDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER, literal"SDL.window.openvr.overlay_id", defined atSDL3/SDL_video.h 1646:9
sDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER, literal"SDL.window.vivante.display", defined atSDL3/SDL_video.h 1647:9
sDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER, literal"SDL.window.vivante.window", defined atSDL3/SDL_video.h 1648:9
sDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER, literal"SDL.window.vivante.surface", defined atSDL3/SDL_video.h 1649:9
sDL_PROP_WINDOW_WIN32_HWND_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WIN32_HWND_POINTER, literal"SDL.window.win32.hwnd", defined atSDL3/SDL_video.h 1650:9
sDL_PROP_WINDOW_WIN32_HDC_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WIN32_HDC_POINTER, literal"SDL.window.win32.hdc", defined atSDL3/SDL_video.h 1651:9
sDL_PROP_WINDOW_WIN32_INSTANCE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WIN32_INSTANCE_POINTER, literal"SDL.window.win32.instance", defined atSDL3/SDL_video.h 1652:9
sDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER, literal"SDL.window.wayland.display", defined atSDL3/SDL_video.h 1653:9
sDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER, literal"SDL.window.wayland.surface", defined atSDL3/SDL_video.h 1654:9
sDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER, literal"SDL.window.wayland.viewport", defined atSDL3/SDL_video.h 1655:9
sDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER, literal"SDL.window.wayland.egl_window", defined atSDL3/SDL_video.h 1656:9
sDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER, literal"SDL.window.wayland.xdg_surface", defined atSDL3/SDL_video.h 1657:9
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER, literal"SDL.window.wayland.xdg_toplevel", defined atSDL3/SDL_video.h 1658:9
sDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING, literal"SDL.window.wayland.xdg_toplevel_export_handle", defined atSDL3/SDL_video.h 1659:9
sDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER, literal"SDL.window.wayland.xdg_popup", defined atSDL3/SDL_video.h 1660:9
sDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER, literal"SDL.window.wayland.xdg_positioner", defined atSDL3/SDL_video.h 1661:9
sDL_PROP_WINDOW_X11_DISPLAY_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_X11_DISPLAY_POINTER, literal"SDL.window.x11.display", defined atSDL3/SDL_video.h 1662:9
sDL_PROP_WINDOW_X11_SCREEN_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_X11_SCREEN_NUMBER, literal"SDL.window.x11.screen", defined atSDL3/SDL_video.h 1663:9
sDL_PROP_WINDOW_X11_WINDOW_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_X11_WINDOW_NUMBER, literal"SDL.window.x11.window", defined atSDL3/SDL_video.h 1664:9
sDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING, literal"SDL.window.emscripten.canvas_id", defined atSDL3/SDL_video.h 1665:9
sDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING, literal"SDL.window.emscripten.keyboard_element", defined atSDL3/SDL_video.h 1666:9
sDL_WINDOW_SURFACE_VSYNC_DISABLED :: CInt Source #
- C declaration
macro SDL_WINDOW_SURFACE_VSYNC_DISABLED, defined atSDL3/SDL_video.h 2463:9
sDL_WINDOW_SURFACE_VSYNC_ADAPTIVE :: CInt Source #
- C declaration
macro SDL_WINDOW_SURFACE_VSYNC_ADAPTIVE, defined atSDL3/SDL_video.h 2464:9
newtype SDL_HitTestResult Source #
Possible return values from the SDL_HitTest callback.
- Thread safety
- This function should only be called on the main thread.
- See also
SDL_HitTest- C declaration
enum SDL_HitTestResult, defined atSDL3/SDL_video.h 2828:14
Since: 3.2.0
Constructors
| SDL_HitTestResult | |
Instances
| Storable SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_HitTestResult -> Int # alignment :: SDL_HitTestResult -> Int # peekElemOff :: Ptr SDL_HitTestResult -> Int -> IO SDL_HitTestResult # pokeElemOff :: Ptr SDL_HitTestResult -> Int -> SDL_HitTestResult -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_HitTestResult # pokeByteOff :: Ptr b -> Int -> SDL_HitTestResult -> IO () # peek :: Ptr SDL_HitTestResult -> IO SDL_HitTestResult # poke :: Ptr SDL_HitTestResult -> SDL_HitTestResult -> IO () # | |||||
| Generic SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_HitTestResult -> Rep SDL_HitTestResult x # to :: Rep SDL_HitTestResult x -> SDL_HitTestResult # | |||||
| Read SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readsPrec :: Int -> ReadS SDL_HitTestResult # readList :: ReadS [SDL_HitTestResult] # | |||||
| Show SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_HitTestResult -> ShowS # show :: SDL_HitTestResult -> String # showList :: [SDL_HitTestResult] -> ShowS # | |||||
| Eq SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods (==) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # (/=) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # | |||||
| Ord SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_HitTestResult -> SDL_HitTestResult -> Ordering # (<) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # (<=) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # (>) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # (>=) :: SDL_HitTestResult -> SDL_HitTestResult -> Bool # max :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult # min :: SDL_HitTestResult -> SDL_HitTestResult -> SDL_HitTestResult # | |||||
| Prim SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOfType# :: Proxy SDL_HitTestResult -> Int# # sizeOf# :: SDL_HitTestResult -> Int# # alignmentOfType# :: Proxy SDL_HitTestResult -> Int# # alignment# :: SDL_HitTestResult -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_HitTestResult # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_HitTestResult #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_HitTestResult -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_HitTestResult -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_HitTestResult # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_HitTestResult #) # writeOffAddr# :: Addr# -> Int# -> SDL_HitTestResult -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_HitTestResult -> State# s -> State# s # | |||||
| CEnum SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toCEnum :: CEnumZ SDL_HitTestResult -> SDL_HitTestResult # fromCEnum :: SDL_HitTestResult -> CEnumZ SDL_HitTestResult # declaredValues :: proxy SDL_HitTestResult -> DeclaredValues SDL_HitTestResult # showsUndeclared :: proxy SDL_HitTestResult -> Int -> CEnumZ SDL_HitTestResult -> ShowS # readPrecUndeclared :: ReadPrec SDL_HitTestResult # isDeclared :: SDL_HitTestResult -> Bool # mkDeclared :: CEnumZ SDL_HitTestResult -> Maybe SDL_HitTestResult # | |||||
| SequentialCEnum SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| HasFFIType SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_HitTestResult -> FFIType SDL_HitTestResult # fromFFIType :: FFIType SDL_HitTestResult -> SDL_HitTestResult # | |||||
| ReadRaw SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| StaticSize SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods staticSizeOf :: Proxy SDL_HitTestResult -> Int # | |||||
| WriteRaw SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_HitTestResult -> SDL_HitTestResult -> IO () # | |||||
| HasCField SDL_HitTestResult "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_HitTestResult ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_HitTestResult -> (ty -> SDL_HitTestResult, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_HitTestResult) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_HitTestResult -> Ptr ty # | |||||
| type Rep SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_HitTestResult = D1 ('MetaData "SDL_HitTestResult" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_HitTestResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type FFIType SDL_HitTestResult Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_HitTestResult "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
pattern SDL_HITTEST_NORMAL :: SDL_HitTestResult Source #
Region is normal. No special properties.
- C declaration
SDL_HITTEST_NORMAL, defined atSDL3/SDL_video.h 2830:5
pattern SDL_HITTEST_DRAGGABLE :: SDL_HitTestResult Source #
Region can drag entire window.
- C declaration
SDL_HITTEST_DRAGGABLE, defined atSDL3/SDL_video.h 2831:5
pattern SDL_HITTEST_RESIZE_TOPLEFT :: SDL_HitTestResult Source #
Region is the resizable top-left corner border.
- C declaration
SDL_HITTEST_RESIZE_TOPLEFT, defined atSDL3/SDL_video.h 2832:5
pattern SDL_HITTEST_RESIZE_TOP :: SDL_HitTestResult Source #
Region is the resizable top border.
- C declaration
SDL_HITTEST_RESIZE_TOP, defined atSDL3/SDL_video.h 2833:5
pattern SDL_HITTEST_RESIZE_TOPRIGHT :: SDL_HitTestResult Source #
Region is the resizable top-right corner border.
- C declaration
SDL_HITTEST_RESIZE_TOPRIGHT, defined atSDL3/SDL_video.h 2834:5
pattern SDL_HITTEST_RESIZE_RIGHT :: SDL_HitTestResult Source #
Region is the resizable right border.
- C declaration
SDL_HITTEST_RESIZE_RIGHT, defined atSDL3/SDL_video.h 2835:5
pattern SDL_HITTEST_RESIZE_BOTTOMRIGHT :: SDL_HitTestResult Source #
Region is the resizable bottom-right corner border.
- C declaration
SDL_HITTEST_RESIZE_BOTTOMRIGHT, defined atSDL3/SDL_video.h 2836:5
pattern SDL_HITTEST_RESIZE_BOTTOM :: SDL_HitTestResult Source #
Region is the resizable bottom border.
- C declaration
SDL_HITTEST_RESIZE_BOTTOM, defined atSDL3/SDL_video.h 2837:5
pattern SDL_HITTEST_RESIZE_BOTTOMLEFT :: SDL_HitTestResult Source #
Region is the resizable bottom-left corner border.
- C declaration
SDL_HITTEST_RESIZE_BOTTOMLEFT, defined atSDL3/SDL_video.h 2838:5
pattern SDL_HITTEST_RESIZE_LEFT :: SDL_HitTestResult Source #
Region is the resizable left border.
- C declaration
SDL_HITTEST_RESIZE_LEFT, defined atSDL3/SDL_video.h 2839:5
newtype SDL_HitTest_Aux Source #
Auxiliary type used by SDL_HitTest
- C declaration
SDL_HitTest, defined atSDL3/SDL_video.h 2852:37
Constructors
| SDL_HitTest_Aux | |
Fields
| |
Instances
| Generic SDL_HitTest_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods from :: SDL_HitTest_Aux -> Rep SDL_HitTest_Aux x # to :: Rep SDL_HitTest_Aux x -> SDL_HitTest_Aux # | |||||
| FromFunPtr SDL_HitTest_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods | |||||
| ToFunPtr SDL_HitTest_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods toFunPtr :: SDL_HitTest_Aux -> IO (FunPtr SDL_HitTest_Aux) # | |||||
| HasCField SDL_HitTest_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ (Ptr SDL_Window -> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult) => HasField "unwrap" SDL_HitTest_Aux ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_HitTest_Aux -> (ty -> SDL_HitTest_Aux, ty) # | |||||
| ty ~ (Ptr SDL_Window -> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult) => HasField "unwrap" (Ptr SDL_HitTest_Aux) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_HitTest_Aux -> Ptr ty # | |||||
| type Rep SDL_HitTest_Aux Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_HitTest_Aux = D1 ('MetaData "SDL_HitTest_Aux" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_HitTest_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr SDL_Window -> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult)))) | |||||
| type CFieldType SDL_HitTest_Aux "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type CFieldType SDL_HitTest_Aux "unwrap" = Ptr SDL_Window -> PtrConst SDL_Point -> Ptr Void -> IO SDL_HitTestResult | |||||
newtype SDL_HitTest Source #
Callback used for hit-testing.
win- the
SDL_Windowwhere hit-testing was set on. area- an SDL_Point which should be hit-tested.
data- what was passed as
callback_datatoSDL_SetWindowHitTest(). - Returns
- an
SDL_HitTestResultvalue. - See also
sDL_SetWindowHitTest- C declaration
SDL_HitTest, defined atSDL3/SDL_video.h 2852:37
Constructors
| SDL_HitTest | |
Fields | |
Instances
| Storable SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods sizeOf :: SDL_HitTest -> Int # alignment :: SDL_HitTest -> Int # peekElemOff :: Ptr SDL_HitTest -> Int -> IO SDL_HitTest # pokeElemOff :: Ptr SDL_HitTest -> Int -> SDL_HitTest -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_HitTest # pokeByteOff :: Ptr b -> Int -> SDL_HitTest -> IO () # peek :: Ptr SDL_HitTest -> IO SDL_HitTest # poke :: Ptr SDL_HitTest -> SDL_HitTest -> IO () # | |||||
| Generic SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| Show SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods showsPrec :: Int -> SDL_HitTest -> ShowS # show :: SDL_HitTest -> String # showList :: [SDL_HitTest] -> ShowS # | |||||
| Eq SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| Ord SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods compare :: SDL_HitTest -> SDL_HitTest -> Ordering # (<) :: SDL_HitTest -> SDL_HitTest -> Bool # (<=) :: SDL_HitTest -> SDL_HitTest -> Bool # (>) :: SDL_HitTest -> SDL_HitTest -> Bool # (>=) :: SDL_HitTest -> SDL_HitTest -> Bool # max :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest # min :: SDL_HitTest -> SDL_HitTest -> SDL_HitTest # | |||||
| HasFFIType SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
Methods toFFIType :: SDL_HitTest -> FFIType SDL_HitTest # | |||||
| ReadRaw SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods readRaw :: Ptr SDL_HitTest -> IO SDL_HitTest # | |||||
| StaticSize SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| WriteRaw SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods writeRaw :: Ptr SDL_HitTest -> SDL_HitTest -> IO () # | |||||
| HasCField SDL_HitTest "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Associated Types
| |||||
| ty ~ FunPtr SDL_HitTest_Aux => HasField "unwrap" SDL_HitTest ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods hasField :: SDL_HitTest -> (ty -> SDL_HitTest, ty) # | |||||
| ty ~ FunPtr SDL_HitTest_Aux => HasField "unwrap" (Ptr SDL_HitTest) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Video Methods getField :: Ptr SDL_HitTest -> Ptr ty # | |||||
| type Rep SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video type Rep SDL_HitTest = D1 ('MetaData "SDL_HitTest" "SDL3.Sys.Bindgen.Video" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_HitTest" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_HitTest_Aux)))) | |||||
| type FFIType SDL_HitTest Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||
| type CFieldType SDL_HitTest "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Video | |||||