ombra-1.1.0.0: Render engine.

LicenseBSD3
Maintainerziocroc@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Blend

Contents

Description

Blending lets you combine the colors in the color buffer with the output of the fragment shader, using a custom operation.

Synopsis

Types

data Mode Source #

Blend mode.

Constructors

Mode 

Fields

Instances

Eq Mode Source # 

Methods

(==) :: Mode -> Mode -> Bool #

(/=) :: Mode -> Mode -> Bool #

data Operator Source #

Blend operator.

Constructors

Add 
Subtract 
ReverseSubtract 

Instances

withBlendMode :: MonadBlend m => Maybe Mode -> m a -> m a Source #

Blending modes

transparency :: Mode Source #

Standard transparency.

additive :: Mode Source #

Additive blend mode.