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

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

Graphics.GL.EXT.CopyTexture

Contents

Description

 

Synopsis

Extension Support

glGetEXTCopyTexture :: MonadIO m => m Bool Source #

Is the EXT_copy_texture extension supported?

gl_EXT_copy_texture :: Bool Source #

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

Functions

glCopyTexImage1DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLint

border of type CheckedInt32.

-> m () 

This command is an alias for glCopyTexImage1D.

glCopyTexImage2DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> GLint

border of type CheckedInt32.

-> m () 

This command is an alias for glCopyTexImage2D.

glCopyTexSubImage1DEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type TextureTarget.

-> GLint

level of type CheckedInt32.

-> GLint

xoffset of type CheckedInt32.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

This command is an alias for glCopyTexSubImage1D.

glCopyTexSubImage2DEXT 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

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

This command is an alias for glCopyTexSubImage2D.

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

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> GLsizei

height.

-> m () 

This command is an alias for glCopyTexSubImage3D.