OpenGL-2.8.0.0: A binding for the OpenGL graphics system

Portability | portable
Stability | stable
Maintainer | sven.panne@aedion.de
Safe Haskell | None

Graphics.Rendering.OpenGL.GL.Texturing.TexParameter

Description

This is a purely internal module for getting/setting texture parameters.

# Documentation

data TexParameter

Constructors

TextureMinFilter |
TextureMagFilter |
TextureWrapS |
TextureWrapT |
TextureWrapR |
TextureBorderColor |
TextureMinLOD |
TextureMaxLOD |
TextureBaseLevel |
TextureMaxLevel |
TexturePriority |
TextureMaxAnisotropy |
TextureCompare |
TextureCompareOperator |
TextureCompareFailValue |
GenerateMipmap |
TextureCompareMode |
TextureCompareFunc |
DepthTextureMode |
TextureLODBias |
TextureResident |

texParami :: (GLint -> a) -> (a -> GLint) -> TexParameter -> TextureTarget -> StateVar a

texParamf :: (GLfloat -> a) -> (a -> GLfloat) -> TexParameter -> TextureTarget -> StateVar a

texParamC4f :: TexParameter -> TextureTarget -> StateVar (Color4 GLfloat)

getTexParameteri :: (GLint -> a) -> TextureTarget -> TexParameter -> IO a

combineTexParams :: (TextureTarget -> StateVar a) -> (TextureTarget -> StateVar b) -> TextureTarget -> StateVar (a, b)

combineTexParamsMaybe :: (TextureTarget -> StateVar Capability) -> (TextureTarget -> StateVar a) -> TextureTarget -> StateVar (Maybe a)