Texture.blendMode

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

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

Return Value

Type: BlendMode

dsdl2.BlendMode of the dsdl2.Texture

Throws

dsdl2.SDLException if dsdl2.BlendMode unable to get

Meta