OpenGL-2.2.1.1: A binding for the OpenGL graphics systemSource codeContentsIndex
Graphics.Rendering.OpenGL.GL.Texturing.Parameters
Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
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 Source
Constructors
Nearest
Linear'
show/hide Instances
type MinificationFilter = (TextureFilter, Maybe TextureFilter)Source
type MagnificationFilter = TextureFilterSource
textureFilter :: TextureTarget -> StateVar (MinificationFilter, MagnificationFilter)Source
data Repetition Source
Constructors
Repeated
Mirrored
show/hide Instances
data Clamping Source
Constructors
Clamp
Repeat
ClampToEdge
ClampToBorder
show/hide Instances
textureWrapMode :: TextureTarget -> TextureCoordName -> StateVar (Repetition, Clamping)Source
textureBorderColor :: TextureTarget -> StateVar (Color4 GLfloat)Source
type LOD = GLfloatSource
textureObjectLODBias :: TextureTarget -> StateVar LODSource
maxTextureLODBias :: GettableStateVar LODSource
textureLODRange :: TextureTarget -> StateVar (LOD, LOD)Source
textureMaxAnisotropy :: TextureTarget -> StateVar GLfloatSource
maxTextureMaxAnisotropy :: GettableStateVar GLfloatSource
textureLevelRange :: TextureTarget -> StateVar (Level, Level)Source
generateMipmap :: TextureTarget -> StateVar CapabilitySource
depthTextureMode :: TextureTarget -> StateVar PixelInternalFormatSource
textureCompareMode :: TextureTarget -> StateVar (Maybe ComparisonFunction)Source
textureCompareFailValue :: TextureTarget -> StateVar GLclampfSource
data TextureCompareOperator Source
Constructors
LequalR
GequalR
show/hide Instances
textureCompareOperator :: TextureTarget -> StateVar (Maybe TextureCompareOperator)Source
Produced by Haddock version 0.9