OpenGL-2.2.3.1: A binding for the OpenGL graphics system

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

Graphics.Rendering.OpenGL.GL.Texturing.Queries

Description

This module offers various texture queries.

# Documentation

type TextureQuery a = Either TextureTarget CubeMapTarget -> Level -> GettableStateVar a

textureInternalFormat :: TextureQuery PixelInternalFormat

textureSize1D :: TextureQuery TextureSize1D

textureSize2D :: TextureQuery TextureSize2D

textureSize3D :: TextureQuery TextureSize3D

textureBorder :: TextureQuery Border

textureRGBASizes :: TextureQuery (Color4 GLsizei)

textureSharedSize :: TextureQuery GLsizei

textureIntensitySize :: TextureQuery GLsizei

textureLuminanceSize :: TextureQuery GLsizei

textureIndexSize :: TextureQuery GLsizei

textureDepthBits :: TextureQuery GLsizei

textureCompressedImageSize :: TextureQuery (Maybe GLsizei)

textureProxyOK :: TextureQuery Bool