OpenGL-3.0.3.0: A binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2002-2019
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 #

textureInternalFormat :: QueryableTextureTarget t => TextureQuery t PixelInternalFormat Source #

textureSize1D :: TextureQuery TextureTarget1D TextureSize1D Source #

textureSize2D :: TextureQuery TextureTarget2D TextureSize2D Source #

textureSize3D :: TextureQuery TextureTarget3D TextureSize3D 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

Instances details

Show DataRepresentation Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.DataType Methods showsPrec :: Int -> DataRepresentation -> ShowS Source # show :: DataRepresentation -> String Source # showList :: [DataRepresentation] -> ShowS Source #
Eq DataRepresentation Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.DataType Methods (==) :: DataRepresentation -> DataRepresentation -> Bool Source # (/=) :: DataRepresentation -> DataRepresentation -> Bool Source #
Ord DataRepresentation Source # |

Instance details

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 #

textureLuminanceType :: QueryableTextureTarget t => TextureQuery t (Maybe DataRepresentation) Source #

textureDepthType :: QueryableTextureTarget t => TextureQuery t (Maybe DataRepresentation) Source #