Surface.blendMode

Wraps SDL_GetSurfaceBlendMode which gets the dsdl2.Surface's dsdl2.BlendMode defining blitting

  1. BlendMode blendMode()
    class Surface
    const @property @trusted
    blendMode
    ()
  2. void blendMode(BlendMode newMode)

Return Value

Type: BlendMode

dsdl2.BlendMode of the dsdl2.Surface

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to get

Meta