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 Source

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 aSource

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

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

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

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

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