dsdl2 ~master (2023-12-28T13:38:07.0198018)
Dub
Repo
Surface.colorKey
dsdl2
surface
Surface
Acts as
SDL_SetColorKey(surface, NULL)
which disables color-keying
Color
colorKey
()
void
colorKey
(uint newPixelKey)
void
colorKey
(Color newColorKey)
void
colorKey
(typeof(null) _)
class
Surface
@
property
@
trusted
void
colorKey
(
typeof
(null)
_
)
void
colorKey
(Nullable!Color newColorKey)
Meta
Source
See Implementation
dsdl2
surface
Surface
constructors
this
destructors
~this
functions
alphaMod
blendMode
blit
blitScaled
buffer
clipRect
colorKey
colorMod
convert
fill
fillRect
fillRects
getAt
getPixelAt
hasColorKey
height
mod
opEquals
palette
pitch
pixelFormat
setAt
setPixelAt
size
toHash
toString
width
variables
sdlSurface
Acts as SDL_SetColorKey(surface, NULL) which disables color-keying