gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ATI.VertexArrayObject

Synopsis

Extension Support

gl_ATI_vertex_array_object :: Bool Source #

Checks that the GL_ATI_vertex_array_object extension is available.

GL_ATI_vertex_array_object

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

Usage: glArrayObjectATI array size type stride buffer offset

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.

The parameter type is a ScalarType.

glGetArrayObjectfvATI :: MonadIO m => GLenum -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetArrayObjectfvATI array pname params

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.

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

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

Usage: glGetArrayObjectivATI array pname params

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.

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

glGetObjectBufferfvATI :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetObjectBufferfvATI buffer pname params

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

glGetObjectBufferivATI :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetObjectBufferivATI buffer pname params

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

glGetVariantArrayObjectfvATI :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetVariantArrayObjectfvATI id pname params

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

glGetVariantArrayObjectivATI :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetVariantArrayObjectivATI id pname params

The parameter pname is a ArrayObjectPNameATI.

The length of params should be 1.

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

Usage: glNewObjectBufferATI size pointer usage

The parameter usage is a ArrayObjectUsageATI.

The length of pointer should be size.

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

Usage: glUpdateObjectBufferATI buffer offset size pointer preserve

The parameter preserve is a PreserveModeATI.

The length of pointer should be size.

glVariantArrayObjectATI :: MonadIO m => GLuint -> GLenum -> GLsizei -> GLuint -> GLuint -> m () Source #

Usage: glVariantArrayObjectATI id type stride buffer offset

The parameter type is a ScalarType.

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

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

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

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

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

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

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

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