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