Graphics.Rendering.OpenGL.Raw.EXT.Texture3D

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

Copyright | (c) Sven Panne 2015
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell2010

Graphics.Rendering.OpenGL.Raw.EXT.Texture3D

Contents

- Extension Support
- Enums
- Functions

Description

Synopsis

- glGetEXTTexture3D :: MonadIO m => m Bool
- gl_EXT_texture3D :: Bool
- gl_MAX_3D_TEXTURE_SIZE_EXT :: GLenum
- gl_PACK_IMAGE_HEIGHT_EXT :: GLenum
- gl_PACK_SKIP_IMAGES_EXT :: GLenum
- gl_PROXY_TEXTURE_3D_EXT :: GLenum
- gl_TEXTURE_3D_EXT :: GLenum
- gl_TEXTURE_DEPTH_EXT :: GLenum
- gl_TEXTURE_WRAP_R_EXT :: GLenum
- gl_UNPACK_IMAGE_HEIGHT_EXT :: GLenum
- gl_UNPACK_SKIP_IMAGES_EXT :: GLenum
- glTexImage3DEXT :: MonadIO m => GLenum -> GLint -> GLenum -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr a -> m ()
- glTexSubImage3DEXT :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr a -> m ()

# Extension Support

glGetEXTTexture3D :: MonadIO m => m Bool

Is the EXT_texture3D extension supported?

gl_EXT_texture3D :: Bool

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

# Enums

gl_MAX_3D_TEXTURE_SIZE_EXT :: GLenum

gl_PACK_IMAGE_HEIGHT_EXT :: GLenum

gl_PACK_SKIP_IMAGES_EXT :: GLenum

gl_PROXY_TEXTURE_3D_EXT :: GLenum

gl_TEXTURE_3D_EXT :: GLenum

gl_TEXTURE_DEPTH_EXT :: GLenum

gl_TEXTURE_WRAP_R_EXT :: GLenum

gl_UNPACK_IMAGE_HEIGHT_EXT :: GLenum

gl_UNPACK_SKIP_IMAGES_EXT :: GLenum

# Functions

glTexImage3DEXT

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`.
-> GLenum | `format` of type PixelFormat.
-> GLenum | `type` of type PixelType.
-> Ptr a | `pixels` pointing to `COMPSIZE(format,type,width,height,depth)` elements of type `a`.
-> m () |

This command is an alias for `glTexImage3D`.

glTexSubImage3DEXT

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.
-> GLenum | `type` of type PixelType.
-> Ptr a | `pixels` pointing to `COMPSIZE(format,type,width,height,depth)` elements of type `a`.
-> m () |

This command is an alias for `glTexSubImage3D`.