Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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 #
SignedNormalizedRepresentation | |
UnsignedNormalizedRepresentation | |
FloatRepresentation | |
IntRepresentation | |
UnsignedIntRepresentation |
Instances
Eq DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType (==) :: DataRepresentation -> DataRepresentation -> Bool # (/=) :: DataRepresentation -> DataRepresentation -> Bool # | |
Ord DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType compare :: DataRepresentation -> DataRepresentation -> Ordering # (<) :: DataRepresentation -> DataRepresentation -> Bool # (<=) :: DataRepresentation -> DataRepresentation -> Bool # (>) :: DataRepresentation -> DataRepresentation -> Bool # (>=) :: DataRepresentation -> DataRepresentation -> Bool # max :: DataRepresentation -> DataRepresentation -> DataRepresentation # min :: DataRepresentation -> DataRepresentation -> DataRepresentation # | |
Show DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType showsPrec :: Int -> DataRepresentation -> ShowS # show :: DataRepresentation -> String # showList :: [DataRepresentation] -> ShowS # |
textureRGBATypes :: QueryableTextureTarget t => TextureQuery t (Color4 (Maybe DataRepresentation)) Source #
textureIntensityType :: QueryableTextureTarget t => TextureQuery t (Maybe DataRepresentation) Source #