Texture.blendMode - multiple declarations

Function Texture.blendMode

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

BlendMode blendMode() @property @trusted const;

Returns

dsdl.BlendMode of the dsdl.Texture

Throws

dsdl.SDLException if dsdl.BlendMode unable to get

Function Texture.blendMode

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

void blendMode (
  BlendMode newMode
) @property @trusted;

Parameters

NameDescription
newMode dsdl.BlendMode to set

Throws

dsdl.SDLException if dsdl.BlendMode unable to set