gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Standard12

Synopsis

Graphics.GL.Standard12

glCopyTexSubImage3D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> m () Source #

Usage: glCopyTexSubImage3D target level xoffset yoffset zoffset x y width height

The parameter target is a TextureTarget, one of: GL_DETAIL_TEXTURE_2D_SGIS, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_1D_EXT, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_2D_EXT, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_3D_EXT, GL_PROXY_TEXTURE_4D_SGIS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_3D_EXT, GL_TEXTURE_3D_OES, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MIN_LOD_SGIS.

The parameter level is a CheckedInt32.

The parameter xoffset is a CheckedInt32.

The parameter yoffset is a CheckedInt32.

The parameter zoffset is a CheckedInt32.

The parameter x is a WinCoord.

The parameter y is a WinCoord.

Manual page: https://www.opengl.org/sdk/docs/man/html/glCopyTexSubImage3D.xhtml

glTexImage3D :: MonadIO m => GLenum -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLint -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glTexImage3D target level internalformat width height depth border format type pixels

The parameter target is a TextureTarget, one of: GL_DETAIL_TEXTURE_2D_SGIS, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_1D_EXT, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_2D_EXT, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_3D_EXT, GL_PROXY_TEXTURE_4D_SGIS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_3D_EXT, GL_TEXTURE_3D_OES, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MIN_LOD_SGIS.

The parameter level is a CheckedInt32.

The parameter internalformat is a TextureComponentCount.

The parameter border is a CheckedInt32.

The parameter format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of pixels should be COMPSIZE(format,type,width,height,depth).

Manual page: https://www.opengl.org/sdk/docs/man/html/glTexImage3D.xhtml

glTexSubImage3D :: MonadIO m => GLenum -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> GLsizei -> GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glTexSubImage3D target level xoffset yoffset zoffset width height depth format type pixels

The parameter target is a TextureTarget, one of: GL_DETAIL_TEXTURE_2D_SGIS, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_1D_EXT, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_2D_EXT, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_3D_EXT, GL_PROXY_TEXTURE_4D_SGIS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_3D_EXT, GL_TEXTURE_3D_OES, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MIN_LOD_SGIS.

The parameter level is a CheckedInt32.

The parameter xoffset is a CheckedInt32.

The parameter yoffset is a CheckedInt32.

The parameter zoffset is a CheckedInt32.

The parameter format is a PixelFormat, one of: GL_ABGR_EXT, GL_ALPHA, GL_BLUE, GL_CMYKA_EXT, GL_CMYK_EXT, GL_COLOR_INDEX, GL_DEPTH_COMPONENT, GL_GREEN, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RED, GL_RED_EXT, GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_YCRCB_422_SGIX, GL_YCRCB_444_SGIX.

The parameter type is a PixelType, one of: GL_BITMAP, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_3_3_2_EXT, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_10_10_10_2_EXT, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_EXT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_EXT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_5_5_1_EXT.

The length of pixels should be COMPSIZE(format,type,width,height,depth).

Manual page: https://www.opengl.org/sdk/docs/man/html/glTexSubImage3D.xhtml

pattern GL_ALIASED_LINE_WIDTH_RANGE :: (Eq a, Num a) => a Source #

pattern GL_ALIASED_POINT_SIZE_RANGE :: (Eq a, Num a) => a Source #

pattern GL_BGR :: (Eq a, Num a) => a Source #

pattern GL_BGRA :: (Eq a, Num a) => a Source #

pattern GL_CLAMP_TO_EDGE :: (Eq a, Num a) => a Source #

pattern GL_LIGHT_MODEL_COLOR_CONTROL :: (Eq a, Num a) => a Source #

pattern GL_MAX_3D_TEXTURE_SIZE :: (Eq a, Num a) => a Source #

pattern GL_MAX_ELEMENTS_INDICES :: (Eq a, Num a) => a Source #

pattern GL_MAX_ELEMENTS_VERTICES :: (Eq a, Num a) => a Source #

pattern GL_PACK_IMAGE_HEIGHT :: (Eq a, Num a) => a Source #

pattern GL_PACK_SKIP_IMAGES :: (Eq a, Num a) => a Source #

pattern GL_PROXY_TEXTURE_3D :: (Eq a, Num a) => a Source #

pattern GL_RESCALE_NORMAL :: (Eq a, Num a) => a Source #

pattern GL_SEPARATE_SPECULAR_COLOR :: (Eq a, Num a) => a Source #

pattern GL_SINGLE_COLOR :: (Eq a, Num a) => a Source #

pattern GL_SMOOTH_LINE_WIDTH_RANGE :: (Eq a, Num a) => a Source #

pattern GL_SMOOTH_POINT_SIZE_RANGE :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_3D :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_BASE_LEVEL :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_BINDING_3D :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_DEPTH :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_MAX_LEVEL :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_MAX_LOD :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_MIN_LOD :: (Eq a, Num a) => a Source #

pattern GL_TEXTURE_WRAP_R :: (Eq a, Num a) => a Source #

pattern GL_UNPACK_IMAGE_HEIGHT :: (Eq a, Num a) => a Source #

pattern GL_UNPACK_SKIP_IMAGES :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_BYTE_2_3_3_REV :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_BYTE_3_3_2 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_INT_10_10_10_2 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_INT_8_8_8_8 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_INT_8_8_8_8_REV :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_SHORT_4_4_4_4 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_SHORT_5_5_5_1 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_SHORT_5_6_5 :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_SHORT_5_6_5_REV :: (Eq a, Num a) => a Source #