| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.SurfaceShims.FunPtr
Synopsis
- lithon_SDL_MUSTLOCK :: FunPtr (Ptr SDL_Surface -> IO CBool)
Documentation
lithon_SDL_MUSTLOCK :: FunPtr (Ptr SDL_Surface -> IO CBool) Source #
Determine whether a surface needs to be locked before its pixels are accessed.
The SDL_MUSTLOCK macro as a function.
surface- the SDL_Surface to check.
- Returns
- true if the surface must be locked with SDL_LockSurface before its pixels are read or written, false otherwise.
- See also
- SDL_LockSurface, SDL_UnlockSurface
- C declaration
lithon_SDL_MUSTLOCK, defined atsdl3-bindgen-sys/SDL_surface_shims.h 39:24
Since: 3.2.0