Surface.blendMode

Wraps SDL_SetSurfaceBlendMode which sets the dsdl2.Surface's dsdl2.BlendMode defining blitting

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

Parameters

newMode BlendMode

dsdl2.BlendMode to set

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to set

Meta