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 #
data DataRepresentation Source #
Constructors
SignedNormalizedRepresentation | |
UnsignedNormalizedRepresentation | |
FloatRepresentation | |
IntRepresentation | |
UnsignedIntRepresentation |
Instances
Show DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType | |
Eq DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType Methods (==) :: DataRepresentation -> DataRepresentation -> Bool Source # (/=) :: DataRepresentation -> DataRepresentation -> Bool Source # | |
Ord DataRepresentation Source # | |
Defined in Graphics.Rendering.OpenGL.GL.DataType Methods compare :: DataRepresentation -> DataRepresentation -> Ordering Source # (<) :: DataRepresentation -> DataRepresentation -> Bool Source # (<=) :: DataRepresentation -> DataRepresentation -> Bool Source # (>) :: DataRepresentation -> DataRepresentation -> Bool Source # (>=) :: DataRepresentation -> DataRepresentation -> Bool Source # max :: DataRepresentation -> DataRepresentation -> DataRepresentation Source # min :: DataRepresentation -> DataRepresentation -> DataRepresentation Source # |
textureRGBATypes :: QueryableTextureTarget t => TextureQuery t (Color4 (Maybe DataRepresentation)) Source #
textureIntensityType :: QueryableTextureTarget t => TextureQuery t (Maybe DataRepresentation) Source #