Safe Haskell | None |
---|---|
Language | Haskell2010 |
Graphics.Caramia.Blend.Internal
- data BlendEquation
- data BlendFunc
- toConstantBE :: BlendEquation -> GLenum
- toConstantBF :: BlendFunc -> GLenum
- data BlendSpec = BlendSpec {}
- setBlendings :: BlendSpec -> IO ()
- withBlendings :: BlendSpec -> IO a -> IO a
Documentation
data BlendEquation Source
Describes which equation to use in blending.
See glBlendEquation
in OpenGL documentation.
Constructors
BEAdd | |
BESubtract | |
BEReverseSubtract | |
BEMin | |
BEMax |
Describes the arithmetic to use in blending.
See glBlendFunc
in OpenGL documentation.
toConstantBF :: BlendFunc -> GLenum Source
Captures the blending parameters.
Constructors
BlendSpec | |
Fields
|
setBlendings :: BlendSpec -> IO () Source
withBlendings :: BlendSpec -> IO a -> IO a Source