Renderer.blendMode - multiple declarations

Function Renderer.blendMode

Wraps SDL_GetRenderDrawBlendMode which gets the color blending mode of the renderer

BlendMode blendMode() @property @trusted const;

Returns

color dsdl2.BlendMode of the renderer

Throws

dsdl2.SDLException if failed to get the color blending mode

Function Renderer.blendMode

Wraps SDL_SetRenderDrawBlendMode which sets the color blending mode of the renderer

void blendMode (
  BlendMode newMode
) @property @trusted;

Parameters

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

Throws

dsdl2.SDLException if failed to set the color blending mode