Is the EXT_subtexture extension supported?
ModuleOpenGLRaw-3.3.4.1Haskell2010
Graphics.GL.EXT.Subtexture
Contents
Synopsis
- value glGetEXTSubtexture
- value gl_EXT_subtexture
- value glTexSubImage1DEXT
- value glTexSubImage2DEXT
- PackageOpenGLRaw-3.3.4.1
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceExtensionPredicates.hs
Extension Support
Is the EXT_subtexture extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetEXTSubtexture in those cases instead.
Functions
value
glTexSubImage1DEXT This command is an alias for glTexSubImage1D.
value
glTexSubImage2DEXT :: MonadIO m=> GLenumtargetof type TextureTarget.-> GLintlevelof typeCheckedInt32.-> GLintxoffsetof typeCheckedInt32.-> GLintyoffsetof typeCheckedInt32.-> GLsizeiwidth.-> GLsizeiheight.-> GLenumformatof type PixelFormat.-> GLenumtypeof type PixelType.-> Ptr apixelspointing toCOMPSIZE(format,type,width,height)elements of typea.-> m ()
This command is an alias for glTexSubImage2D.