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.Queries

Description

This module offers various texture queries.

# Documentation

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

textureInternalFormat :: TextureQuery PixelInternalFormat Source

textureSize1D :: TextureQuery TextureSize1D Source

textureSize2D :: TextureQuery TextureSize2D Source

textureSize3D :: TextureQuery TextureSize3D Source

textureBorder :: TextureQuery Border Source

textureRGBASizes :: TextureQuery (Color4 GLsizei)Source

textureSharedSize :: TextureQuery GLsizei Source

textureIntensitySize :: TextureQuery GLsizei Source

textureLuminanceSize :: TextureQuery GLsizei Source

textureIndexSize :: TextureQuery GLsizei Source

textureDepthBits :: TextureQuery GLsizei Source

textureCompressedImageSize :: TextureQuery (Maybe GLsizei)Source

textureProxyOK :: TextureQuery Bool Source