sdl2-compositor-1.1: image compositing with sdl2 - declarative style

Safe HaskellNone
LanguageHaskell2010

SDL.Compositor.Blender

Synopsis

Documentation

class Blender b where Source

This class modells a graphics object that supports switching of BlendMode.

Methods

overrideBlendMode :: BlendMode -> b -> b Source

This method overrides the the blend mode settings for an object. If the object contains children/multiple objects, their BlendMode property will also be overidden.

preserveBlendMode :: BlendMode -> b -> b Source

This method sets the BlendMode of an object. If the object has children, their BlendMode property will be preserved.