OpenGLRaw-2.5.4.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.EXT.Subtexture

Contents

Description

The EXT_subtexture extension.

Synopsis

Functions

glTexSubImage1DEXT Source

Arguments

:: MonadIO m 
=> GLenum

target of type [TextureTarget](Graphics-Rendering-OpenGL-Raw-Groups.html#TextureTarget).

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLsizei

width.

-> GLenum

format of type [PixelFormat](Graphics-Rendering-OpenGL-Raw-Groups.html#PixelFormat).

-> GLenum

type of type [PixelType](Graphics-Rendering-OpenGL-Raw-Groups.html#PixelType).

-> Ptr a

pixels pointing to COMPSIZE(format,type,width) elements of type a.

-> m () 

glTexSubImage2DEXT Source

Arguments

:: MonadIO m 
=> GLenum

target of type [TextureTarget](Graphics-Rendering-OpenGL-Raw-Groups.html#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](Graphics-Rendering-OpenGL-Raw-Groups.html#PixelFormat).

-> GLenum

type of type [PixelType](Graphics-Rendering-OpenGL-Raw-Groups.html#PixelType).

-> Ptr a

pixels pointing to COMPSIZE(format,type,width,height) elements of type a.

-> m ()