Texture.blendMode

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

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

Parameters

newMode BlendMode

dsdl2.BlendMode to set

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to set

Meta