OpenGLRaw-2.5.5.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2015
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.Raw.ARB.TextureCompression

Contents

Description

 

Synopsis

Extension Support

gl_ARB_texture_compression :: Bool Source

Is the ARB_texture_compression extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBTextureCompression in those cases instead.

Enums

Functions

glCompressedTexImage1DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexImage1D.

glCompressedTexImage2DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexImage2D.

glCompressedTexImage3DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexImage3D.

glCompressedTexSubImage1DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexSubImage1D.

glCompressedTexSubImage2DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexSubImage2D.

glCompressedTexSubImage3DARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

yoffset of type CheckedInt32.

-> GLint

zoffset of type CheckedInt32.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLenum

format of type PixelFormat.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> m () 

This command is an alias for glCompressedTexSubImage3D.

glGetCompressedTexImageARB Source

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> Ptr a

img pointing to COMPSIZE(target,level) elements of type CompressedTextureARB.

-> m () 

This command is an alias for glGetCompressedTexImage.