| ||||||||||||
| ||||||||||||
Description | ||||||||||||
This module corresponds to section 3.8.4 (Texture Parameters), section 3.8.7 (Texture Wrap Mode), section 3.8.8 (Texture Minification), and section 3.8.9 (Texture Magnification) of the OpenGL 2.1 specs. | ||||||||||||
Documentation | ||||||||||||
data TextureFilter | ||||||||||||
| ||||||||||||
type MinificationFilter = (TextureFilter, Maybe TextureFilter) | ||||||||||||
type MagnificationFilter = TextureFilter | ||||||||||||
textureFilter :: TextureTarget -> StateVar (MinificationFilter, MagnificationFilter) | ||||||||||||
data Repetition | ||||||||||||
| ||||||||||||
data Clamping | ||||||||||||
| ||||||||||||
textureWrapMode :: TextureTarget -> TextureCoordName -> StateVar (Repetition, Clamping) | ||||||||||||
textureBorderColor :: TextureTarget -> StateVar (Color4 GLfloat) | ||||||||||||
type LOD = GLfloat | ||||||||||||
textureObjectLODBias :: TextureTarget -> StateVar LOD | ||||||||||||
maxTextureLODBias :: GettableStateVar LOD | ||||||||||||
textureLODRange :: TextureTarget -> StateVar (LOD, LOD) | ||||||||||||
textureMaxAnisotropy :: TextureTarget -> StateVar GLfloat | ||||||||||||
maxTextureMaxAnisotropy :: GettableStateVar GLfloat | ||||||||||||
textureLevelRange :: TextureTarget -> StateVar (Level, Level) | ||||||||||||
generateMipmap :: TextureTarget -> StateVar Capability | ||||||||||||
depthTextureMode :: TextureTarget -> StateVar PixelInternalFormat | ||||||||||||
textureCompareMode :: TextureTarget -> StateVar (Maybe ComparisonFunction) | ||||||||||||
textureCompareFailValue :: TextureTarget -> StateVar GLclampf | ||||||||||||
data TextureCompareOperator | ||||||||||||
| ||||||||||||
textureCompareOperator :: TextureTarget -> StateVar (Maybe TextureCompareOperator) | ||||||||||||
Produced by Haddock version 0.8 |