HOpenGL Libraries (OpenGL package)ContentsIndex
Graphics.Rendering.OpenGL.GL.Texturing.Environments
Portability portable
Stability provisional
Maintainer sven.panne@aedion.de
Description
This module corresponds to section 3.8.13 (Texture Environments and Texture Functions) of the OpenGL 1.5 specs.
Synopsis
data TextureFunction
= Modulate
| Decal
| Blend
| Replace
| AddUnsigned
| Combine
| Combine4
textureFunction :: StateVar TextureFunction
data TextureCombineFunction
= Replace'
| Modulate'
| AddUnsigned'
| AddSigned
| Interpolate
| Subtract
| Dot3RGB
| Dot3RGBA
combineRGB :: StateVar TextureCombineFunction
combineAlpha :: StateVar TextureCombineFunction
data ArgNum
= Arg0
| Arg1
| Arg2
| Arg3
data Arg = Arg BlendingFactor Src
data Src
= CurrentUnit
| Previous
| Crossbar TextureUnit
| Constant
| PrimaryColor
argRGB :: ArgNum -> StateVar Arg
argAlpha :: ArgNum -> StateVar Arg
rgbScale :: StateVar GLfloat
alphaScale :: StateVar GLfloat
constantColor :: StateVar (Color4 GLfloat)
textureUnitLODBias :: StateVar LOD
Produced by Haddock version 0.6