Texture.blendMode - multiple declarations

Function Texture.blendMode

Wraps SDL_GetTextureBlendMode which gets the dsdl2.Texture's dsdl2.BlendMode defining drawing

BlendMode blendMode() @property @trusted const;

Returns

dsdl2.BlendMode of the dsdl2.Texture

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to get

Function Texture.blendMode

Wraps SDL_SetTextureBlendMode which sets the dsdl2.Texture's dsdl2.BlendMode defining drawing

void blendMode (
  BlendMode newMode
) @property @trusted;

Parameters

NameDescription
newMode dsdl2.BlendMode to set

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to set