gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Standard11

Synopsis

Graphics.GL.Standard11

glAreTexturesResident :: MonadIO m => GLsizei -> Ptr GLuint -> Ptr GLboolean -> m GLboolean Source #

Usage: glAreTexturesResident n textures residences

The parameter textures is a Texture.

The parameter residences is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of textures should be n.

The length of residences should be n.

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

Usage: glColorPointer size type stride pointer

The parameter type is a ColorPointerType, one of: GL_BYTE, GL_DOUBLE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT.

The length of pointer should be COMPSIZE(size,type,stride).

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

Usage: glCopyTexImage1D target level internalformat x y width border

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 InternalFormat, one of: GL_ALPHA12, GL_ALPHA16, GL_ALPHA16_ICC_SGIX, GL_ALPHA4, GL_ALPHA8, GL_ALPHA_ICC_SGIX, GL_DEPTH_COMPONENT16_SGIX, GL_DEPTH_COMPONENT24_SGIX, GL_DEPTH_COMPONENT32_SGIX, GL_DUAL_ALPHA12_SGIS, GL_DUAL_ALPHA16_SGIS, GL_DUAL_ALPHA4_SGIS, GL_DUAL_ALPHA8_SGIS, GL_DUAL_INTENSITY12_SGIS, GL_DUAL_INTENSITY16_SGIS, GL_DUAL_INTENSITY4_SGIS, GL_DUAL_INTENSITY8_SGIS, GL_DUAL_LUMINANCE12_SGIS, GL_DUAL_LUMINANCE16_SGIS, GL_DUAL_LUMINANCE4_SGIS, GL_DUAL_LUMINANCE8_SGIS, GL_DUAL_LUMINANCE_ALPHA4_SGIS, GL_DUAL_LUMINANCE_ALPHA8_SGIS, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY16_ICC_SGIX, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY_ICC_SGIX, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE16_ALPHA8_ICC_SGIX, GL_LUMINANCE16_ICC_SGIX, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA_ICC_SGIX, GL_LUMINANCE_ICC_SGIX, GL_QUAD_ALPHA4_SGIS, GL_QUAD_ALPHA8_SGIS, GL_QUAD_INTENSITY4_SGIS, GL_QUAD_INTENSITY8_SGIS, GL_QUAD_LUMINANCE4_SGIS, GL_QUAD_LUMINANCE8_SGIS, GL_R3_G3_B2, GL_R5_G6_B5_A8_ICC_SGIX, GL_R5_G6_B5_ICC_SGIX, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB2_EXT, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RGBA_ICC_SGIX, GL_RGB_ICC_SGIX.

The parameter x is a WinCoord.

The parameter y is a WinCoord.

The parameter border is a CheckedInt32.

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

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

Usage: glCopyTexImage2D target level internalformat x y width height border

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 InternalFormat, one of: GL_ALPHA12, GL_ALPHA16, GL_ALPHA16_ICC_SGIX, GL_ALPHA4, GL_ALPHA8, GL_ALPHA_ICC_SGIX, GL_DEPTH_COMPONENT16_SGIX, GL_DEPTH_COMPONENT24_SGIX, GL_DEPTH_COMPONENT32_SGIX, GL_DUAL_ALPHA12_SGIS, GL_DUAL_ALPHA16_SGIS, GL_DUAL_ALPHA4_SGIS, GL_DUAL_ALPHA8_SGIS, GL_DUAL_INTENSITY12_SGIS, GL_DUAL_INTENSITY16_SGIS, GL_DUAL_INTENSITY4_SGIS, GL_DUAL_INTENSITY8_SGIS, GL_DUAL_LUMINANCE12_SGIS, GL_DUAL_LUMINANCE16_SGIS, GL_DUAL_LUMINANCE4_SGIS, GL_DUAL_LUMINANCE8_SGIS, GL_DUAL_LUMINANCE_ALPHA4_SGIS, GL_DUAL_LUMINANCE_ALPHA8_SGIS, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY16_ICC_SGIX, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY_ICC_SGIX, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE16_ALPHA8_ICC_SGIX, GL_LUMINANCE16_ICC_SGIX, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA_ICC_SGIX, GL_LUMINANCE_ICC_SGIX, GL_QUAD_ALPHA4_SGIS, GL_QUAD_ALPHA8_SGIS, GL_QUAD_INTENSITY4_SGIS, GL_QUAD_INTENSITY8_SGIS, GL_QUAD_LUMINANCE4_SGIS, GL_QUAD_LUMINANCE8_SGIS, GL_R3_G3_B2, GL_R5_G6_B5_A8_ICC_SGIX, GL_R5_G6_B5_ICC_SGIX, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB2_EXT, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RGBA_ICC_SGIX, GL_RGB_ICC_SGIX.

The parameter x is a WinCoord.

The parameter y is a WinCoord.

The parameter border is a CheckedInt32.

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

glDeleteTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glDeleteTextures n textures

The parameter textures is a Texture.

The length of textures should be n.

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

glDisableClientState :: MonadIO m => GLenum -> m () Source #

Usage: glDisableClientState array

The parameter array is a EnableCap, one of: GL_ALPHA_TEST, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_AUTO_NORMAL, GL_BLEND, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_TABLE_SGI, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CULL_FACE, GL_DEPTH_TEST, GL_DITHER, GL_EDGE_FLAG_ARRAY, GL_FOG, GL_FOG_OFFSET_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHT1_SGIX, GL_FRAGMENT_LIGHT2_SGIX, GL_FRAGMENT_LIGHT3_SGIX, GL_FRAGMENT_LIGHT4_SGIX, GL_FRAGMENT_LIGHT5_SGIX, GL_FRAGMENT_LIGHT6_SGIX, GL_FRAGMENT_LIGHT7_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAMEZOOM_SGIX, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_LOGIC_OP, GL_INTERLACE_SGIX, GL_IR_INSTRUMENT1_SGIX, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LINE_SMOOTH, GL_LINE_STIPPLE, GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MINMAX_EXT, GL_MULTISAMPLE_SGIS, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_SGIX, GL_POINT_SMOOTH, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_SMOOTH, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_REFERENCE_PLANE_SGIX, GL_RESCALE_NORMAL_EXT, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_MASK_SGIS, GL_SCISSOR_TEST, GL_SEPARABLE_2D_EXT, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SPRITE_SGIX, GL_STENCIL_TEST, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_SGIS, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_VERTEX_ARRAY.

glEdgeFlagPointer :: MonadIO m => GLsizei -> Ptr () -> m () Source #

Usage: glEdgeFlagPointer stride pointer

The length of pointer should be COMPSIZE(stride).

glEnableClientState :: MonadIO m => GLenum -> m () Source #

Usage: glEnableClientState array

The parameter array is a EnableCap, one of: GL_ALPHA_TEST, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_AUTO_NORMAL, GL_BLEND, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_TABLE_SGI, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CULL_FACE, GL_DEPTH_TEST, GL_DITHER, GL_EDGE_FLAG_ARRAY, GL_FOG, GL_FOG_OFFSET_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHT1_SGIX, GL_FRAGMENT_LIGHT2_SGIX, GL_FRAGMENT_LIGHT3_SGIX, GL_FRAGMENT_LIGHT4_SGIX, GL_FRAGMENT_LIGHT5_SGIX, GL_FRAGMENT_LIGHT6_SGIX, GL_FRAGMENT_LIGHT7_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAMEZOOM_SGIX, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_LOGIC_OP, GL_INTERLACE_SGIX, GL_IR_INSTRUMENT1_SGIX, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LINE_SMOOTH, GL_LINE_STIPPLE, GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MINMAX_EXT, GL_MULTISAMPLE_SGIS, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_SGIX, GL_POINT_SMOOTH, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_SMOOTH, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_REFERENCE_PLANE_SGIX, GL_RESCALE_NORMAL_EXT, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_MASK_SGIS, GL_SCISSOR_TEST, GL_SEPARABLE_2D_EXT, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SPRITE_SGIX, GL_STENCIL_TEST, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_SGIS, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_VERTEX_ARRAY.

glGenTextures :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glGenTextures n textures

The parameter textures is a Texture.

The length of textures should be n.

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

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

Usage: glIndexPointer type stride pointer

The parameter type is a IndexPointerType, one of: GL_DOUBLE, GL_FLOAT, GL_INT, GL_SHORT.

The length of pointer should be COMPSIZE(type,stride).

glIndexub :: MonadIO m => GLubyte -> m () Source #

Usage: glIndexub c

The parameter c is a ColorIndexValueUB.

The vector equivalent of this command is glIndexubv.

glIndexubv :: MonadIO m => Ptr GLubyte -> m () Source #

Usage: glIndexubv c

The parameter c is a ColorIndexValueUB.

The length of c should be 1.

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

Usage: glInterleavedArrays format stride pointer

The parameter format is a InterleavedArrayFormat, one of: GL_C3F_V3F, GL_C4F_N3F_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_N3F_V3F, GL_T2F_C3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T2F_C4UB_V3F, GL_T2F_N3F_V3F, GL_T2F_V3F, GL_T4F_C4F_N3F_V4F, GL_T4F_V4F, GL_V2F, GL_V3F.

The length of pointer should be COMPSIZE(format,stride).

glIsTexture :: MonadIO m => GLuint -> m GLboolean Source #

Usage: glIsTexture texture

The parameter texture is a Texture.

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

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

Usage: glNormalPointer type stride pointer

The parameter type is a NormalPointerType, one of: GL_BYTE, GL_DOUBLE, GL_FLOAT, GL_INT, GL_SHORT.

The length of pointer should be COMPSIZE(type,stride).

glPrioritizeTextures :: MonadIO m => GLsizei -> Ptr GLuint -> Ptr GLfloat -> m () Source #

Usage: glPrioritizeTextures n textures priorities

The parameter textures is a Texture.

The length of textures should be n.

The length of priorities should be n.

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

Usage: glTexCoordPointer size type stride pointer

The parameter type is a TexCoordPointerType, one of: GL_DOUBLE, GL_FLOAT, GL_INT, GL_SHORT.

The length of pointer should be COMPSIZE(size,type,stride).

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

Usage: glTexSubImage1D target level xoffset width 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 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).

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

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

Usage: glTexSubImage2D target level xoffset yoffset width height 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 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).

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

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

Usage: glVertexPointer size type stride pointer

The parameter type is a VertexPointerType, one of: GL_DOUBLE, GL_FLOAT, GL_INT, GL_SHORT.

The length of pointer should be COMPSIZE(size,type,stride).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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