| Copyright | (c) Sven Panne 2002-2016 | 
|---|---|
| License | BSD3 | 
| Maintainer | Sven Panne <svenpanne@gmail.com> | 
| Stability | stable | 
| Portability | portable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Graphics.Rendering.OpenGL.GL.Texturing.Queries
Description
This module offers various texture queries.
Documentation
type TextureQuery t a = t -> Level -> GettableStateVar a Source #
textureBorder :: QueryableTextureTarget t => TextureQuery t Border Source #
textureRGBASizes :: QueryableTextureTarget t => TextureQuery t (Color4 GLsizei) Source #
data DataRepresentation Source #
Constructors
| SignedNormalizedRepresentation | |
| UnsignedNormalizedRepresentation | |
| FloatRepresentation | |
| IntRepresentation | |
| UnsignedIntRepresentation | 
Instances
textureRGBATypes :: QueryableTextureTarget t => TextureQuery t (Color4 (Maybe DataRepresentation)) Source #
textureIntensityType :: QueryableTextureTarget t => TextureQuery t (Maybe DataRepresentation) Source #