OpenGL-2.9.2.0: A binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2002-2013
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell98

Graphics.Rendering.OpenGL.GL.Texturing.Queries

Description

This module offers various texture queries.

# Documentation

type TextureQuery t a = t -> Level -> GettableStateVar a

textureInternalFormat :: QueryableTextureTarget t => TextureQuery t PixelInternalFormat

textureSize1D :: TextureQuery TextureTarget1D TextureSize1D

textureSize2D :: TextureQuery TextureTarget2D TextureSize2D

textureSize3D :: TextureQuery TextureTarget3D TextureSize3D

textureBorder :: QueryableTextureTarget t => TextureQuery t Border

textureRGBASizes :: QueryableTextureTarget t => TextureQuery t (Color4 GLsizei)

textureSharedSize :: QueryableTextureTarget t => TextureQuery t GLsizei

textureIntensitySize :: QueryableTextureTarget t => TextureQuery t GLsizei

textureLuminanceSize :: QueryableTextureTarget t => TextureQuery t GLsizei

textureIndexSize :: QueryableTextureTarget t => TextureQuery t GLsizei

textureDepthBits :: QueryableTextureTarget t => TextureQuery t GLsizei

textureCompressedImageSize :: QueryableTextureTarget t => TextureQuery t (Maybe GLsizei)

textureProxyOK :: ParameterizedTextureTarget t => TextureQuery t Bool