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.Specification

Contents

- Texture Targets
  - One-Dimensional Texture Targets
  - Two-Dimensional Texture Targets
  - Three-Dimensional Texture Targets
  - Texture Buffer Target
  - Texture Target Classification
- Texture-related Data Types
- Texture Image Specification
- Alternate Texture Image Specification Commands
- Compressed Texture Images
- Multisample Texture Images
- Implementation-Dependent Limits

Description

This module corresponds to section 3.8.1 (Texture Image Specification), section 3.8.2 (Alternate Texture Image Specification Commands), and section 3.8.3 (Compressed Texture Images) of the OpenGL 2.1 specs.

Synopsis

- data TextureTarget1D = Texture1D
- data TextureTarget2D
  - = Texture2D
  - | Texture1DArray
  - | TextureRectangle
- data TextureTarget2DMultisample = Texture2DMultisample
- data TextureTargetCubeMap = TextureCubeMap
- data TextureTargetCubeMapFace
  - = TextureCubeMapPositiveX
  - | TextureCubeMapNegativeX
  - | TextureCubeMapPositiveY
  - | TextureCubeMapNegativeY
  - | TextureCubeMapPositiveZ
  - | TextureCubeMapNegativeZ
- data TextureTarget3D
  - = Texture3D
  - | Texture2DArray
  - | TextureCubeMapArray
- data TextureTarget2DMultisampleArray = Texture2DMultisampleArray
- data TextureTargetBuffer = TextureBuffer'
- class BindableTextureTarget t
- class ParameterizedTextureTarget t
- class OneDimensionalTextureTarget t
- class TwoDimensionalTextureTarget t
- class ThreeDimensionalTextureTarget t
- class QueryableTextureTarget t
- class GettableTextureTarget t
- type Level = GLint
- type Border = GLint
- newtype TexturePosition1D = TexturePosition1D GLint
- data TexturePosition2D = TexturePosition2D !GLint !GLint
- data TexturePosition3D = TexturePosition3D !GLint !GLint !GLint
- newtype TextureSize1D = TextureSize1D GLsizei
- data TextureSize2D = TextureSize2D !GLsizei !GLsizei
- data TextureSize3D = TextureSize3D !GLsizei !GLsizei !GLsizei
- texImage1D :: OneDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize1D -> Border -> PixelData a -> IO ()
- texImage2D :: TwoDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize2D -> Border -> PixelData a -> IO ()
- texImage3D :: ThreeDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize3D -> Border -> PixelData a -> IO ()
- copyTexImage1D :: OneDimensionalTextureTarget t => t -> Level -> PixelInternalFormat -> Position -> TextureSize1D -> Border -> IO ()
- copyTexImage2D :: TwoDimensionalTextureTarget t => t -> Level -> PixelInternalFormat -> Position -> TextureSize2D -> Border -> IO ()
- texSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> TextureSize1D -> PixelData a -> IO ()
- texSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> TextureSize2D -> PixelData a -> IO ()
- texSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> TextureSize3D -> PixelData a -> IO ()
- getTexImage :: GettableTextureTarget t => t -> Level -> PixelData a -> IO ()
- copyTexSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> Position -> TextureSize1D -> IO ()
- copyTexSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> Position -> TextureSize2D -> IO ()
- copyTexSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> Position -> TextureSize2D -> IO ()
- newtype CompressedTextureFormat = CompressedTextureFormat GLenum
- compressedTextureFormats :: GettableStateVar [CompressedTextureFormat]
- data CompressedPixelData a = CompressedPixelData !CompressedTextureFormat GLsizei (Ptr a)
- compressedTexImage1D :: OneDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize1D -> Border -> CompressedPixelData a -> IO ()
- compressedTexImage2D :: TwoDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize2D -> Border -> CompressedPixelData a -> IO ()
- compressedTexImage3D :: ThreeDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize3D -> Border -> CompressedPixelData a -> IO ()
- compressedTexSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> TextureSize1D -> CompressedPixelData a -> IO ()
- compressedTexSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> TextureSize2D -> CompressedPixelData a -> IO ()
- compressedTexSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> TextureSize3D -> CompressedPixelData a -> IO ()
- getCompressedTexImage :: GettableTextureTarget t => t -> Level -> Ptr a -> IO ()
- data SampleLocations
  - = FlexibleSampleLocations
  - | FixedSampleLocations
- texImage2DMultisample :: TextureTarget2DMultisample -> Proxy -> Samples -> PixelInternalFormat -> TextureSize2D -> SampleLocations -> IO ()
- texImage3DMultisample :: TextureTarget2DMultisampleArray -> Proxy -> Samples -> PixelInternalFormat -> TextureSize3D -> SampleLocations -> IO ()
- maxTextureSize :: GettableStateVar GLsizei
- maxCubeMapTextureSize :: GettableStateVar GLsizei
- maxRectangleTextureSize :: GettableStateVar GLsizei
- max3DTextureSize :: GettableStateVar GLsizei
- maxArrayTextureLayers :: GettableStateVar GLsizei
- maxSampleMaskWords :: GettableStateVar GLsizei
- maxColorTextureSamples :: GettableStateVar GLsizei
- maxDepthTextureSamples :: GettableStateVar GLsizei
- maxIntegerSamples :: GettableStateVar GLsizei

# Texture Targets

## One-Dimensional Texture Targets

data TextureTarget1D Source #

Constructors

Texture1D |

#### Instances

Instances details

BindableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget1D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget1D -> PName1I
GettableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget1D -> GLenum
OneDimensionalTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalOneDimensionalTextureTarget :: Proxy -> TextureTarget1D -> GLenum
ParameterizedTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget1D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget1D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget1D -> EnableCap
QueryableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget1D -> GLenum
Show TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTarget1D -> ShowS Source # show :: TextureTarget1D -> String Source # showList :: [TextureTarget1D] -> ShowS Source #
Eq TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTarget1D -> TextureTarget1D -> Bool Source # (/=) :: TextureTarget1D -> TextureTarget1D -> Bool Source #
Ord TextureTarget1D Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTarget1D -> TextureTarget1D -> Ordering Source #

(<) :: TextureTarget1D -> TextureTarget1D -> Bool Source #

(<=) :: TextureTarget1D -> TextureTarget1D -> Bool Source #

(>) :: TextureTarget1D -> TextureTarget1D -> Bool Source #

(>=) :: TextureTarget1D -> TextureTarget1D -> Bool Source #

max :: TextureTarget1D -> TextureTarget1D -> TextureTarget1D Source #

min :: TextureTarget1D -> TextureTarget1D -> TextureTarget1D Source #

## Two-Dimensional Texture Targets

data TextureTarget2D Source #

Constructors

Texture2D |
Texture1DArray |
TextureRectangle |

#### Instances

Instances details

BindableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2D -> PName1I
GettableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget2D -> GLenum
ParameterizedTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2D -> EnableCap
QueryableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2D -> GLenum
TwoDimensionalTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTarget2D -> GLenum
Show TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTarget2D -> ShowS Source # show :: TextureTarget2D -> String Source # showList :: [TextureTarget2D] -> ShowS Source #
Eq TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTarget2D -> TextureTarget2D -> Bool Source # (/=) :: TextureTarget2D -> TextureTarget2D -> Bool Source #
Ord TextureTarget2D Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTarget2D -> TextureTarget2D -> Ordering Source #

(<) :: TextureTarget2D -> TextureTarget2D -> Bool Source #

(<=) :: TextureTarget2D -> TextureTarget2D -> Bool Source #

(>) :: TextureTarget2D -> TextureTarget2D -> Bool Source #

(>=) :: TextureTarget2D -> TextureTarget2D -> Bool Source #

max :: TextureTarget2D -> TextureTarget2D -> TextureTarget2D Source #

min :: TextureTarget2D -> TextureTarget2D -> TextureTarget2D Source #

data TextureTarget2DMultisample Source #

Constructors

Texture2DMultisample |

#### Instances

Instances details

BindableTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2DMultisample -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2DMultisample -> PName1I
ParameterizedTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2DMultisample -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2DMultisample -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2DMultisample -> EnableCap
QueryableTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2DMultisample -> GLenum
Show TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTarget2DMultisample -> ShowS Source # show :: TextureTarget2DMultisample -> String Source # showList :: [TextureTarget2DMultisample] -> ShowS Source #
Eq TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source # (/=) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source #
Ord TextureTarget2DMultisample Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Ordering Source #

(<) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source #

(<=) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source #

(>) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source #

(>=) :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> Bool Source #

max :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> TextureTarget2DMultisample Source #

min :: TextureTarget2DMultisample -> TextureTarget2DMultisample -> TextureTarget2DMultisample Source #

data TextureTargetCubeMap Source #

Constructors

TextureCubeMap |

#### Instances

Instances details

BindableTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTargetCubeMap -> GLenum marshalBindableTextureTargetPName1I :: TextureTargetCubeMap -> PName1I
ParameterizedTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTargetCubeMap -> GLenum marshalParameterizedTextureTargetProxy :: TextureTargetCubeMap -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTargetCubeMap -> EnableCap
TwoDimensionalTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTargetCubeMap -> GLenum
Show TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTargetCubeMap -> ShowS Source # show :: TextureTargetCubeMap -> String Source # showList :: [TextureTargetCubeMap] -> ShowS Source #
Eq TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source # (/=) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source #
Ord TextureTargetCubeMap Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTargetCubeMap -> TextureTargetCubeMap -> Ordering Source #

(<) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source #

(<=) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source #

(>) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source #

(>=) :: TextureTargetCubeMap -> TextureTargetCubeMap -> Bool Source #

max :: TextureTargetCubeMap -> TextureTargetCubeMap -> TextureTargetCubeMap Source #

min :: TextureTargetCubeMap -> TextureTargetCubeMap -> TextureTargetCubeMap Source #

data TextureTargetCubeMapFace Source #

Constructors

TextureCubeMapPositiveX |
TextureCubeMapNegativeX |
TextureCubeMapPositiveY |
TextureCubeMapNegativeY |
TextureCubeMapPositiveZ |
TextureCubeMapNegativeZ |

#### Instances

Instances details

GettableTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTargetCubeMapFace -> GLenum
QueryableTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTargetCubeMapFace -> GLenum
TwoDimensionalTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTargetCubeMapFace -> GLenum
Show TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTargetCubeMapFace -> ShowS Source # show :: TextureTargetCubeMapFace -> String Source # showList :: [TextureTargetCubeMapFace] -> ShowS Source #
Eq TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source # (/=) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source #
Ord TextureTargetCubeMapFace Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Ordering Source #

(<) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source #

(<=) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source #

(>) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source #

(>=) :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> Bool Source #

max :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> TextureTargetCubeMapFace Source #

min :: TextureTargetCubeMapFace -> TextureTargetCubeMapFace -> TextureTargetCubeMapFace Source #

## Three-Dimensional Texture Targets

data TextureTarget3D Source #

Constructors

Texture3D |
Texture2DArray |
TextureCubeMapArray |

#### Instances

Instances details

BindableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget3D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget3D -> PName1I
GettableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget3D -> GLenum
ParameterizedTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget3D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget3D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget3D -> EnableCap
QueryableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget3D -> GLenum
ThreeDimensionalTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalThreeDimensionalTextureTarget :: Proxy -> TextureTarget3D -> GLenum
Show TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTarget3D -> ShowS Source # show :: TextureTarget3D -> String Source # showList :: [TextureTarget3D] -> ShowS Source #
Eq TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTarget3D -> TextureTarget3D -> Bool Source # (/=) :: TextureTarget3D -> TextureTarget3D -> Bool Source #
Ord TextureTarget3D Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTarget3D -> TextureTarget3D -> Ordering Source #

(<) :: TextureTarget3D -> TextureTarget3D -> Bool Source #

(<=) :: TextureTarget3D -> TextureTarget3D -> Bool Source #

(>) :: TextureTarget3D -> TextureTarget3D -> Bool Source #

(>=) :: TextureTarget3D -> TextureTarget3D -> Bool Source #

max :: TextureTarget3D -> TextureTarget3D -> TextureTarget3D Source #

min :: TextureTarget3D -> TextureTarget3D -> TextureTarget3D Source #

data TextureTarget2DMultisampleArray Source #

Constructors

Texture2DMultisampleArray |

#### Instances

Instances details

BindableTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2DMultisampleArray -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2DMultisampleArray -> PName1I
ParameterizedTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2DMultisampleArray -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2DMultisampleArray -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2DMultisampleArray -> EnableCap
QueryableTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2DMultisampleArray -> GLenum
Show TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTarget2DMultisampleArray -> ShowS Source # show :: TextureTarget2DMultisampleArray -> String Source # showList :: [TextureTarget2DMultisampleArray] -> ShowS Source #
Eq TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source # (/=) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source #
Ord TextureTarget2DMultisampleArray Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Ordering Source #

(<) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source #

(<=) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source #

(>) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source #

(>=) :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> Bool Source #

max :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray Source #

min :: TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray -> TextureTarget2DMultisampleArray Source #

## Texture Buffer Target

data TextureTargetBuffer Source #

Constructors

TextureBuffer' |

#### Instances

Instances details

BindableTextureTarget TextureTargetBuffer Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTargetBuffer -> GLenum marshalBindableTextureTargetPName1I :: TextureTargetBuffer -> PName1I
Show TextureTargetBuffer Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods showsPrec :: Int -> TextureTargetBuffer -> ShowS Source # show :: TextureTargetBuffer -> String Source # showList :: [TextureTargetBuffer] -> ShowS Source #
Eq TextureTargetBuffer Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods (==) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source # (/=) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source #
Ord TextureTargetBuffer Source # |

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

compare :: TextureTargetBuffer -> TextureTargetBuffer -> Ordering Source #

(<) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source #

(<=) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source #

(>) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source #

(>=) :: TextureTargetBuffer -> TextureTargetBuffer -> Bool Source #

max :: TextureTargetBuffer -> TextureTargetBuffer -> TextureTargetBuffer Source #

min :: TextureTargetBuffer -> TextureTargetBuffer -> TextureTargetBuffer Source #

## Texture Target Classification

class BindableTextureTarget t Source #

Minimal complete definition

marshalBindableTextureTarget, marshalBindableTextureTargetPName1I

#### Instances

Instances details

BindableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget1D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget1D -> PName1I
BindableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2D -> PName1I
BindableTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2DMultisample -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2DMultisample -> PName1I
BindableTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget2DMultisampleArray -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget2DMultisampleArray -> PName1I
BindableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTarget3D -> GLenum marshalBindableTextureTargetPName1I :: TextureTarget3D -> PName1I
BindableTextureTarget TextureTargetBuffer Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTargetBuffer -> GLenum marshalBindableTextureTargetPName1I :: TextureTargetBuffer -> PName1I
BindableTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalBindableTextureTarget :: TextureTargetCubeMap -> GLenum marshalBindableTextureTargetPName1I :: TextureTargetCubeMap -> PName1I

class ParameterizedTextureTarget t Source #

Minimal complete definition

marshalParameterizedTextureTarget, marshalParameterizedTextureTargetProxy, marshalParameterizedTextureTargetEnableCap

#### Instances

Instances details

ParameterizedTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget1D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget1D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget1D -> EnableCap
ParameterizedTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2D -> EnableCap
ParameterizedTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2DMultisample -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2DMultisample -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2DMultisample -> EnableCap
ParameterizedTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget2DMultisampleArray -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget2DMultisampleArray -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget2DMultisampleArray -> EnableCap
ParameterizedTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTarget3D -> GLenum marshalParameterizedTextureTargetProxy :: TextureTarget3D -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTarget3D -> EnableCap
ParameterizedTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalParameterizedTextureTarget :: TextureTargetCubeMap -> GLenum marshalParameterizedTextureTargetProxy :: TextureTargetCubeMap -> GLenum marshalParameterizedTextureTargetEnableCap :: TextureTargetCubeMap -> EnableCap

class OneDimensionalTextureTarget t Source #

Minimal complete definition

marshalOneDimensionalTextureTarget

#### Instances

Instances details

OneDimensionalTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalOneDimensionalTextureTarget :: Proxy -> TextureTarget1D -> GLenum

class TwoDimensionalTextureTarget t Source #

Minimal complete definition

marshalTwoDimensionalTextureTarget

#### Instances

Instances details

TwoDimensionalTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTarget2D -> GLenum
TwoDimensionalTextureTarget TextureTargetCubeMap Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTargetCubeMap -> GLenum
TwoDimensionalTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalTwoDimensionalTextureTarget :: Proxy -> TextureTargetCubeMapFace -> GLenum

class ThreeDimensionalTextureTarget t Source #

Minimal complete definition

marshalThreeDimensionalTextureTarget

#### Instances

Instances details

ThreeDimensionalTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalThreeDimensionalTextureTarget :: Proxy -> TextureTarget3D -> GLenum

class QueryableTextureTarget t Source #

Minimal complete definition

marshalQueryableTextureTarget

#### Instances

Instances details

QueryableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget1D -> GLenum
QueryableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2D -> GLenum
QueryableTextureTarget TextureTarget2DMultisample Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2DMultisample -> GLenum
QueryableTextureTarget TextureTarget2DMultisampleArray Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget2DMultisampleArray -> GLenum
QueryableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTarget3D -> GLenum
QueryableTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalQueryableTextureTarget :: TextureTargetCubeMapFace -> GLenum

class GettableTextureTarget t Source #

Minimal complete definition

marshalGettableTextureTarget

#### Instances

Instances details

GettableTextureTarget TextureTarget1D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget1D -> GLenum
GettableTextureTarget TextureTarget2D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget2D -> GLenum
GettableTextureTarget TextureTarget3D Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTarget3D -> GLenum
GettableTextureTarget TextureTargetCubeMapFace Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget Methods marshalGettableTextureTarget :: TextureTargetCubeMapFace -> GLenum

# Texture-related Data Types

type Level = GLint Source #

type Border = GLint Source #

newtype TexturePosition1D Source #

Constructors

TexturePosition1D GLint |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TexturePosition1D -> TexturePosition1D -> Ordering Source #

(<) :: TexturePosition1D -> TexturePosition1D -> Bool Source #

(<=) :: TexturePosition1D -> TexturePosition1D -> Bool Source #

(>) :: TexturePosition1D -> TexturePosition1D -> Bool Source #

(>=) :: TexturePosition1D -> TexturePosition1D -> Bool Source #

max :: TexturePosition1D -> TexturePosition1D -> TexturePosition1D Source #

min :: TexturePosition1D -> TexturePosition1D -> TexturePosition1D Source #

data TexturePosition2D Source #

Constructors

TexturePosition2D !GLint !GLint |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TexturePosition2D -> TexturePosition2D -> Ordering Source #

(<) :: TexturePosition2D -> TexturePosition2D -> Bool Source #

(<=) :: TexturePosition2D -> TexturePosition2D -> Bool Source #

(>) :: TexturePosition2D -> TexturePosition2D -> Bool Source #

(>=) :: TexturePosition2D -> TexturePosition2D -> Bool Source #

max :: TexturePosition2D -> TexturePosition2D -> TexturePosition2D Source #

min :: TexturePosition2D -> TexturePosition2D -> TexturePosition2D Source #

data TexturePosition3D Source #

Constructors

TexturePosition3D !GLint !GLint !GLint |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TexturePosition3D -> TexturePosition3D -> Ordering Source #

(<) :: TexturePosition3D -> TexturePosition3D -> Bool Source #

(<=) :: TexturePosition3D -> TexturePosition3D -> Bool Source #

(>) :: TexturePosition3D -> TexturePosition3D -> Bool Source #

(>=) :: TexturePosition3D -> TexturePosition3D -> Bool Source #

max :: TexturePosition3D -> TexturePosition3D -> TexturePosition3D Source #

min :: TexturePosition3D -> TexturePosition3D -> TexturePosition3D Source #

newtype TextureSize1D Source #

Constructors

TextureSize1D GLsizei |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TextureSize1D -> TextureSize1D -> Ordering Source #

(<) :: TextureSize1D -> TextureSize1D -> Bool Source #

(<=) :: TextureSize1D -> TextureSize1D -> Bool Source #

(>) :: TextureSize1D -> TextureSize1D -> Bool Source #

(>=) :: TextureSize1D -> TextureSize1D -> Bool Source #

max :: TextureSize1D -> TextureSize1D -> TextureSize1D Source #

min :: TextureSize1D -> TextureSize1D -> TextureSize1D Source #

data TextureSize2D Source #

Constructors

TextureSize2D !GLsizei !GLsizei |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TextureSize2D -> TextureSize2D -> Ordering Source #

(<) :: TextureSize2D -> TextureSize2D -> Bool Source #

(<=) :: TextureSize2D -> TextureSize2D -> Bool Source #

(>) :: TextureSize2D -> TextureSize2D -> Bool Source #

(>=) :: TextureSize2D -> TextureSize2D -> Bool Source #

max :: TextureSize2D -> TextureSize2D -> TextureSize2D Source #

min :: TextureSize2D -> TextureSize2D -> TextureSize2D Source #

data TextureSize3D Source #

Constructors

TextureSize3D !GLsizei !GLsizei !GLsizei |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: TextureSize3D -> TextureSize3D -> Ordering Source #

(<) :: TextureSize3D -> TextureSize3D -> Bool Source #

(<=) :: TextureSize3D -> TextureSize3D -> Bool Source #

(>) :: TextureSize3D -> TextureSize3D -> Bool Source #

(>=) :: TextureSize3D -> TextureSize3D -> Bool Source #

max :: TextureSize3D -> TextureSize3D -> TextureSize3D Source #

min :: TextureSize3D -> TextureSize3D -> TextureSize3D Source #

# Texture Image Specification

texImage1D :: OneDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize1D -> Border -> PixelData a -> IO () Source #

texImage2D :: TwoDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize2D -> Border -> PixelData a -> IO () Source #

texImage3D :: ThreeDimensionalTextureTarget t => t -> Proxy -> Level -> PixelInternalFormat -> TextureSize3D -> Border -> PixelData a -> IO () Source #

copyTexImage1D :: OneDimensionalTextureTarget t => t -> Level -> PixelInternalFormat -> Position -> TextureSize1D -> Border -> IO () Source #

copyTexImage2D :: TwoDimensionalTextureTarget t => t -> Level -> PixelInternalFormat -> Position -> TextureSize2D -> Border -> IO () Source #

texSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> TextureSize1D -> PixelData a -> IO () Source #

texSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> TextureSize2D -> PixelData a -> IO () Source #

texSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> TextureSize3D -> PixelData a -> IO () Source #

getTexImage :: GettableTextureTarget t => t -> Level -> PixelData a -> IO () Source #

# Alternate Texture Image Specification Commands

copyTexSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> Position -> TextureSize1D -> IO () Source #

copyTexSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> Position -> TextureSize2D -> IO () Source #

copyTexSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> Position -> TextureSize2D -> IO () Source #

# Compressed Texture Images

newtype CompressedTextureFormat Source #

Constructors

CompressedTextureFormat GLenum |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: CompressedTextureFormat -> CompressedTextureFormat -> Ordering Source #

(<) :: CompressedTextureFormat -> CompressedTextureFormat -> Bool Source #

(<=) :: CompressedTextureFormat -> CompressedTextureFormat -> Bool Source #

(>) :: CompressedTextureFormat -> CompressedTextureFormat -> Bool Source #

(>=) :: CompressedTextureFormat -> CompressedTextureFormat -> Bool Source #

max :: CompressedTextureFormat -> CompressedTextureFormat -> CompressedTextureFormat Source #

min :: CompressedTextureFormat -> CompressedTextureFormat -> CompressedTextureFormat Source #

compressedTextureFormats :: GettableStateVar [CompressedTextureFormat] Source #

data CompressedPixelData a Source #

Constructors

CompressedPixelData !CompressedTextureFormat GLsizei (Ptr a) |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: CompressedPixelData a -> CompressedPixelData a -> Ordering Source #

(<) :: CompressedPixelData a -> CompressedPixelData a -> Bool Source #

(<=) :: CompressedPixelData a -> CompressedPixelData a -> Bool Source #

(>) :: CompressedPixelData a -> CompressedPixelData a -> Bool Source #

(>=) :: CompressedPixelData a -> CompressedPixelData a -> Bool Source #

max :: CompressedPixelData a -> CompressedPixelData a -> CompressedPixelData a Source #

min :: CompressedPixelData a -> CompressedPixelData a -> CompressedPixelData a Source #

compressedTexImage1D :: OneDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize1D -> Border -> CompressedPixelData a -> IO () Source #

compressedTexImage2D :: TwoDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize2D -> Border -> CompressedPixelData a -> IO () Source #

compressedTexImage3D :: ThreeDimensionalTextureTarget t => t -> Proxy -> Level -> TextureSize3D -> Border -> CompressedPixelData a -> IO () Source #

compressedTexSubImage1D :: OneDimensionalTextureTarget t => t -> Level -> TexturePosition1D -> TextureSize1D -> CompressedPixelData a -> IO () Source #

compressedTexSubImage2D :: TwoDimensionalTextureTarget t => t -> Level -> TexturePosition2D -> TextureSize2D -> CompressedPixelData a -> IO () Source #

compressedTexSubImage3D :: ThreeDimensionalTextureTarget t => t -> Level -> TexturePosition3D -> TextureSize3D -> CompressedPixelData a -> IO () Source #

getCompressedTexImage :: GettableTextureTarget t => t -> Level -> Ptr a -> IO () Source #

# Multisample Texture Images

data SampleLocations Source #

Constructors

FlexibleSampleLocations |
FixedSampleLocations |

#### Instances

Instances details

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

Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Specification

Methods

compare :: SampleLocations -> SampleLocations -> Ordering Source #

(<) :: SampleLocations -> SampleLocations -> Bool Source #

(<=) :: SampleLocations -> SampleLocations -> Bool Source #

(>) :: SampleLocations -> SampleLocations -> Bool Source #

(>=) :: SampleLocations -> SampleLocations -> Bool Source #

max :: SampleLocations -> SampleLocations -> SampleLocations Source #

min :: SampleLocations -> SampleLocations -> SampleLocations Source #

texImage2DMultisample :: TextureTarget2DMultisample -> Proxy -> Samples -> PixelInternalFormat -> TextureSize2D -> SampleLocations -> IO () Source #

texImage3DMultisample :: TextureTarget2DMultisampleArray -> Proxy -> Samples -> PixelInternalFormat -> TextureSize3D -> SampleLocations -> IO () Source #

# Implementation-Dependent Limits

maxTextureSize :: GettableStateVar GLsizei Source #

maxCubeMapTextureSize :: GettableStateVar GLsizei Source #

maxRectangleTextureSize :: GettableStateVar GLsizei Source #

max3DTextureSize :: GettableStateVar GLsizei Source #

maxArrayTextureLayers :: GettableStateVar GLsizei Source #

maxSampleMaskWords :: GettableStateVar GLsizei Source #

maxColorTextureSamples :: GettableStateVar GLsizei Source #

maxDepthTextureSamples :: GettableStateVar GLsizei Source #

maxIntegerSamples :: GettableStateVar GLsizei Source #