module Graphics.Rendering.Ombra.Blend.Types where
import Graphics.Rendering.Ombra.Vector
data Mode = Mode {
constantColor :: Maybe Vec4,
rgbOperator :: Operator,
rgbParameters :: Maybe (Parameter, Parameter),
alphaOperator :: Operator,
alphaParameters :: Maybe (Parameter, Parameter)
} deriving Eq
data Operator = Add | Subtract | ReverseSubtract deriving Eq
data Parameter = Zero | One | SourceColor | DestinationColor | ConstantColor
| SourceAlpha | DestinationAlpha | ConstantAlpha
| OneMinus Parameter deriving Eq