Renderer.blendMode

Wraps SDL_SetRenderDrawBlendMode which sets the color blending mode of the renderer

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

Parameters

newMode BlendMode

new dsdl2.BlendMode as the renderer's current color blending mode

Throws

dsdl2.SDLException if failed to set the color blending mode

Meta