| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.SurfaceShims.Safe
Synopsis
- lithon_SDL_MUSTLOCK :: Ptr SDL_Surface -> IO CBool
Documentation
Arguments
| :: Ptr SDL_Surface |
|
| -> IO CBool |
Determine whether a surface needs to be locked before its pixels are accessed.
The SDL_MUSTLOCK macro as a function.
- 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