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

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

Graphics.Rendering.OpenGL.Raw.ARB.TextureCompression

Contents

Description

All raw functions and tokens from the ARB_texture_compression extension, see http://www.opengl.org/registry/specs/ARB/texture_compression.txt.

Synopsis

Functions

glCompressedTexImage3D Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLsizei

depth.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompressedTexImage2D Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompressedTexImage1D Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type PixelInternalFormat.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> GLsizei

imageSize.

-> Ptr a

data pointing to imageSize elements of type CompressedTextureARB.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompressedTexSubImage3D Source

Arguments

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

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompressedTexSubImage2D Source

Arguments

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

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompressedTexSubImage1D Source

Arguments

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

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetCompressedTexImage Source

Arguments

:: GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> Ptr a

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

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

Tokens