gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Standard10

Synopsis

Graphics.GL.Standard10

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

Usage: glAccum op value

The parameter op is a AccumOp, one of: GL_ACCUM, GL_LOAD, GL_RETURN, GL_MULT, GL_ADD.

The parameter value is a CoordF.

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

Usage: glAlphaFunc func ref

The parameter func is a AlphaFunction, one of: GL_ALWAYS, GL_EQUAL, GL_GEQUAL, GL_GREATER, GL_LEQUAL, GL_LESS, GL_NEVER, GL_NOTEQUAL.

glBitmap :: MonadIO m => GLsizei -> GLsizei -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> Ptr GLubyte -> m () Source #

Usage: glBitmap width height xorig yorig xmove ymove bitmap

The parameter xorig is a CoordF.

The parameter yorig is a CoordF.

The parameter xmove is a CoordF.

The parameter ymove is a CoordF.

The length of bitmap should be COMPSIZE(width,height).

glCallList :: MonadIO m => GLuint -> m () Source #

Usage: glCallList list

The parameter list is a List.

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

Usage: glCallLists n type lists

The parameter type is a ListNameType, one of: GL_2_BYTES, GL_3_BYTES, GL_4_BYTES, GL_BYTE, GL_FLOAT, GL_INT, GL_SHORT, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT.

The length of lists should be COMPSIZE(n,type).

glClearAccum :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glClearAccum red green blue alpha

glClearColor :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glClearColor red green blue alpha

The parameter red is a ColorF.

The parameter green is a ColorF.

The parameter blue is a ColorF.

The parameter alpha is a ColorF.

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

glClearIndex :: MonadIO m => GLfloat -> m () Source #

Usage: glClearIndex c

The parameter c is a MaskedColorIndexValueF.

glClearStencil :: MonadIO m => GLint -> m () Source #

Usage: glClearStencil s

The parameter s is a StencilValue.

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

glColor3b :: MonadIO m => GLbyte -> GLbyte -> GLbyte -> m () Source #

Usage: glColor3b red green blue

The parameter red is a ColorB.

The parameter green is a ColorB.

The parameter blue is a ColorB.

The vector equivalent of this command is glColor3bv.

glColor3bv :: MonadIO m => Ptr GLbyte -> m () Source #

Usage: glColor3bv v

The parameter v is a ColorB.

The length of v should be 3.

glColor3d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glColor3d red green blue

The parameter red is a ColorD.

The parameter green is a ColorD.

The parameter blue is a ColorD.

The vector equivalent of this command is glColor3dv.

glColor3dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glColor3dv v

The parameter v is a ColorD.

The length of v should be 3.

glColor3f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glColor3f red green blue

The parameter red is a ColorF.

The parameter green is a ColorF.

The parameter blue is a ColorF.

The vector equivalent of this command is glColor3fv.

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

Usage: glColor3fv v

The parameter v is a ColorF.

The length of v should be 3.

glColor3i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #

Usage: glColor3i red green blue

The parameter red is a ColorI.

The parameter green is a ColorI.

The parameter blue is a ColorI.

The vector equivalent of this command is glColor3iv.

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

Usage: glColor3iv v

The parameter v is a ColorI.

The length of v should be 3.

glColor3s :: MonadIO m => GLshort -> GLshort -> GLshort -> m () Source #

Usage: glColor3s red green blue

The parameter red is a ColorS.

The parameter green is a ColorS.

The parameter blue is a ColorS.

The vector equivalent of this command is glColor3sv.

glColor3sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glColor3sv v

The parameter v is a ColorS.

The length of v should be 3.

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

Usage: glColor3ub red green blue

The parameter red is a ColorUB.

The parameter green is a ColorUB.

The parameter blue is a ColorUB.

The vector equivalent of this command is glColor3ubv.

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

Usage: glColor3ubv v

The parameter v is a ColorUB.

The length of v should be 3.

glColor3ui :: MonadIO m => GLuint -> GLuint -> GLuint -> m () Source #

Usage: glColor3ui red green blue

The parameter red is a ColorUI.

The parameter green is a ColorUI.

The parameter blue is a ColorUI.

The vector equivalent of this command is glColor3uiv.

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

Usage: glColor3uiv v

The parameter v is a ColorUI.

The length of v should be 3.

glColor3us :: MonadIO m => GLushort -> GLushort -> GLushort -> m () Source #

Usage: glColor3us red green blue

The parameter red is a ColorUS.

The parameter green is a ColorUS.

The parameter blue is a ColorUS.

The vector equivalent of this command is glColor3usv.

glColor3usv :: MonadIO m => Ptr GLushort -> m () Source #

Usage: glColor3usv v

The parameter v is a ColorUS.

The length of v should be 3.

glColor4b :: MonadIO m => GLbyte -> GLbyte -> GLbyte -> GLbyte -> m () Source #

Usage: glColor4b red green blue alpha

The parameter red is a ColorB.

The parameter green is a ColorB.

The parameter blue is a ColorB.

The parameter alpha is a ColorB.

The vector equivalent of this command is glColor4bv.

glColor4bv :: MonadIO m => Ptr GLbyte -> m () Source #

Usage: glColor4bv v

The parameter v is a ColorB.

The length of v should be 4.

glColor4d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glColor4d red green blue alpha

The parameter red is a ColorD.

The parameter green is a ColorD.

The parameter blue is a ColorD.

The parameter alpha is a ColorD.

The vector equivalent of this command is glColor4dv.

glColor4dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glColor4dv v

The parameter v is a ColorD.

The length of v should be 4.

glColor4f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glColor4f red green blue alpha

The parameter red is a ColorF.

The parameter green is a ColorF.

The parameter blue is a ColorF.

The parameter alpha is a ColorF.

The vector equivalent of this command is glColor4fv.

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

Usage: glColor4fv v

The parameter v is a ColorF.

The length of v should be 4.

glColor4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glColor4i red green blue alpha

The parameter red is a ColorI.

The parameter green is a ColorI.

The parameter blue is a ColorI.

The parameter alpha is a ColorI.

The vector equivalent of this command is glColor4iv.

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

Usage: glColor4iv v

The parameter v is a ColorI.

The length of v should be 4.

glColor4s :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glColor4s red green blue alpha

The parameter red is a ColorS.

The parameter green is a ColorS.

The parameter blue is a ColorS.

The parameter alpha is a ColorS.

The vector equivalent of this command is glColor4sv.

glColor4sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glColor4sv v

The parameter v is a ColorS.

The length of v should be 4.

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

Usage: glColor4ub red green blue alpha

The parameter red is a ColorUB.

The parameter green is a ColorUB.

The parameter blue is a ColorUB.

The parameter alpha is a ColorUB.

The vector equivalent of this command is glColor4ubv.

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

Usage: glColor4ubv v

The parameter v is a ColorUB.

The length of v should be 4.

glColor4ui :: MonadIO m => GLuint -> GLuint -> GLuint -> GLuint -> m () Source #

Usage: glColor4ui red green blue alpha

The parameter red is a ColorUI.

The parameter green is a ColorUI.

The parameter blue is a ColorUI.

The parameter alpha is a ColorUI.

The vector equivalent of this command is glColor4uiv.

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

Usage: glColor4uiv v

The parameter v is a ColorUI.

The length of v should be 4.

glColor4us :: MonadIO m => GLushort -> GLushort -> GLushort -> GLushort -> m () Source #

Usage: glColor4us red green blue alpha

The parameter red is a ColorUS.

The parameter green is a ColorUS.

The parameter blue is a ColorUS.

The parameter alpha is a ColorUS.

The vector equivalent of this command is glColor4usv.

glColor4usv :: MonadIO m => Ptr GLushort -> m () Source #

Usage: glColor4usv v

The parameter v is a ColorUS.

The length of v should be 4.

glColorMask :: MonadIO m => GLboolean -> GLboolean -> GLboolean -> GLboolean -> m () Source #

Usage: glColorMask red green blue alpha

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

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

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

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

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

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

Usage: glColorMaterial face mode

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter mode is a ColorMaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_DIFFUSE, GL_EMISSION, GL_SPECULAR.

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

Usage: glCopyPixels x y width height type

The parameter x is a WinCoord.

The parameter y is a WinCoord.

The parameter type is a PixelCopyType, one of: GL_COLOR, GL_COLOR_EXT, GL_DEPTH, GL_DEPTH_EXT, GL_STENCIL, GL_STENCIL_EXT.

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

Usage: glCullFace mode

The parameter mode is a CullFaceMode, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

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

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

Usage: glDeleteLists list range

The parameter list is a List.

glDepthMask :: MonadIO m => GLboolean -> m () Source #

Usage: glDepthMask flag

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

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

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

Usage: glDisable cap

The parameter cap 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.

glEdgeFlag :: MonadIO m => GLboolean -> m () Source #

Usage: glEdgeFlag flag

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

The vector equivalent of this command is glEdgeFlagv.

glEdgeFlagv :: MonadIO m => Ptr GLboolean -> m () Source #

Usage: glEdgeFlagv flag

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

The length of flag should be 1.

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

Usage: glEnable cap

The parameter cap 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.

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

glEnd :: MonadIO m => m () Source #

Usage: glEnd

glEndList :: MonadIO m => m () Source #

Usage: glEndList

glEvalCoord1d :: MonadIO m => GLdouble -> m () Source #

Usage: glEvalCoord1d u

The parameter u is a CoordD.

The vector equivalent of this command is glEvalCoord1dv.

glEvalCoord1dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glEvalCoord1dv u

The parameter u is a CoordD.

The length of u should be 1.

glEvalCoord1f :: MonadIO m => GLfloat -> m () Source #

Usage: glEvalCoord1f u

The parameter u is a CoordF.

The vector equivalent of this command is glEvalCoord1fv.

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

Usage: glEvalCoord1fv u

The parameter u is a CoordF.

The length of u should be 1.

glEvalCoord2d :: MonadIO m => GLdouble -> GLdouble -> m () Source #

Usage: glEvalCoord2d u v

The parameter u is a CoordD.

The parameter v is a CoordD.

The vector equivalent of this command is glEvalCoord2dv.

glEvalCoord2dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glEvalCoord2dv u

The parameter u is a CoordD.

The length of u should be 2.

glEvalCoord2f :: MonadIO m => GLfloat -> GLfloat -> m () Source #

Usage: glEvalCoord2f u v

The parameter u is a CoordF.

The parameter v is a CoordF.

The vector equivalent of this command is glEvalCoord2fv.

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

Usage: glEvalCoord2fv u

The parameter u is a CoordF.

The length of u should be 2.

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

Usage: glEvalMesh1 mode i1 i2

The parameter mode is a MeshMode1, one of: GL_LINE, GL_POINT.

The parameter i1 is a CheckedInt32.

The parameter i2 is a CheckedInt32.

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

Usage: glEvalMesh2 mode i1 i2 j1 j2

The parameter mode is a MeshMode2, one of: GL_FILL, GL_LINE, GL_POINT.

The parameter i1 is a CheckedInt32.

The parameter i2 is a CheckedInt32.

The parameter j1 is a CheckedInt32.

The parameter j2 is a CheckedInt32.

glEvalPoint1 :: MonadIO m => GLint -> m () Source #

Usage: glEvalPoint1 i

glEvalPoint2 :: MonadIO m => GLint -> GLint -> m () Source #

Usage: glEvalPoint2 i j

The parameter i is a CheckedInt32.

The parameter j is a CheckedInt32.

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

Usage: glFeedbackBuffer size type buffer

The parameter type is a FeedbackType, one of: GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, GL_4D_COLOR_TEXTURE.

The parameter buffer is a FeedbackElement.

The length of buffer should be size.

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

Usage: glFogf pname param

The parameter pname is a FogParameter, one of: GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START.

The parameter param is a CheckedFloat32.

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

Usage: glFogfv pname params

The parameter pname is a FogParameter, one of: GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glFogi pname param

The parameter pname is a FogParameter, one of: GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START.

The parameter param is a CheckedInt32.

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

Usage: glFogiv pname params

The parameter pname is a FogParameter, one of: GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

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

Usage: glFrontFace mode

The parameter mode is a FrontFaceDirection, one of: GL_CCW, GL_CW.

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

glFrustum :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glFrustum left right bottom top zNear zFar

glGetBooleanv :: MonadIO m => GLenum -> Ptr GLboolean -> m () Source #

Usage: glGetBooleanv pname data

The parameter pname is a GetPName, one of: GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_FUNC_QCOM, GL_ALPHA_TEST_QCOM, GL_ALPHA_TEST_REF, GL_ALPHA_TEST_REF_QCOM, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_MARKER_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_BLEND, GL_BLEND_COLOR_EXT, GL_BLEND_DST, GL_BLEND_EQUATION_EXT, GL_BLEND_SRC, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_ARRAY_COUNT_EXT, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_MATRIX_SGI, GL_COLOR_MATRIX_STACK_DEPTH_SGI, GL_COLOR_TABLE_SGI, GL_COLOR_WRITEMASK, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CONVOLUTION_HINT_SGIX, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_DEFORMATIONS_MASK_SGIX, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DETAIL_TEXTURE_2D_BINDING_SGIS, GL_DISTANCE_ATTENUATION_SGIS, GL_DITHER, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_BUFFER_EXT, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_COUNT_EXT, GL_EDGE_FLAG_ARRAY_STRIDE, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_FUNC_POINTS_SGIS, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_SGIX, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX, GL_FRAMEZOOM_FACTOR_SGIX, GL_FRAMEZOOM_SGIX, GL_FRONT_FACE, GL_GENERATE_MIPMAP_HINT_SGIS, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_ARRAY_COUNT_EXT, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INSTRUMENT_MEASUREMENTS_SGIX, 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_LIGHT_ENV_MODE_SGIX, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LIST_BASE, GL_LIST_INDEX, GL_LIST_MODE, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, 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_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, 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_MAP_COLOR, GL_MAP_STENCIL, GL_MATRIX_MODE, GL_MAX_3D_TEXTURE_SIZE_EXT, GL_MAX_4D_TEXTURE_SIZE_SGIS, GL_MAX_ACTIVE_LIGHTS_SGIX, GL_MAX_ASYNC_DRAW_PIXELS_SGIX, GL_MAX_ASYNC_HISTOGRAM_SGIX, GL_MAX_ASYNC_READ_PIXELS_SGIX, GL_MAX_ASYNC_TEX_IMAGE_SGIX, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIPMAP_DEPTH_SGIX, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_MAX_CLIP_DISTANCES, GL_MAX_CLIP_PLANES, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI, GL_MAX_EVAL_ORDER, GL_MAX_FOG_FUNC_POINTS_SGIS, GL_MAX_FRAGMENT_LIGHTS_SGIX, GL_MAX_FRAMEZOOM_FACTOR_SGIX, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MINMAX_EXT, GL_MODELVIEW0_MATRIX_EXT, GL_MODELVIEW0_STACK_DEPTH_EXT, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MULTISAMPLE_SGIS, GL_NAME_STACK_DEPTH, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_COUNT_EXT, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_PACK_ALIGNMENT, GL_PACK_CMYK_HINT_EXT, GL_PACK_IMAGE_DEPTH_SGIS, GL_PACK_IMAGE_HEIGHT_EXT, GL_PACK_LSB_FIRST, GL_PACK_RESAMPLE_SGIX, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_IMAGES_EXT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_VOLUMES_SGIS, GL_PACK_SUBSAMPLE_RATE_SGIX, GL_PACK_SWAP_BYTES, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_MODE_SGIX, GL_PIXEL_TEX_GEN_SGIX, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX, GL_PIXEL_TILE_CACHE_SIZE_SGIX, GL_PIXEL_TILE_GRID_DEPTH_SGIX, GL_PIXEL_TILE_GRID_HEIGHT_SGIX, GL_PIXEL_TILE_GRID_WIDTH_SGIX, GL_PIXEL_TILE_HEIGHT_SGIX, GL_PIXEL_TILE_WIDTH_SGIX, GL_POINT_FADE_THRESHOLD_SIZE_SGIS, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_MAX_SGIS, GL_POINT_SIZE_MIN_SGIS, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_BIAS_EXT, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI, GL_POST_COLOR_MATRIX_RED_BIAS_SGI, GL_POST_COLOR_MATRIX_RED_SCALE_SGI, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT, GL_POST_CONVOLUTION_BLUE_BIAS_EXT, GL_POST_CONVOLUTION_BLUE_SCALE_EXT, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_GREEN_BIAS_EXT, GL_POST_CONVOLUTION_GREEN_SCALE_EXT, GL_POST_CONVOLUTION_RED_BIAS_EXT, GL_POST_CONVOLUTION_RED_SCALE_EXT, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_READ_BUFFER, GL_READ_BUFFER_EXT, GL_READ_BUFFER_NV, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_REFERENCE_PLANE_EQUATION_SGIX, GL_REFERENCE_PLANE_SGIX, GL_RENDER_MODE, GL_RESCALE_NORMAL_EXT, GL_RGBA_MODE, GL_SAMPLES_SGIS, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_BUFFERS_SGIS, GL_SAMPLE_MASK_INVERT_SGIS, GL_SAMPLE_MASK_SGIS, GL_SAMPLE_MASK_VALUE_SGIS, GL_SAMPLE_PATTERN_SGIS, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECTION_BUFFER_SIZE, GL_SEPARABLE_2D_EXT, GL_SHADE_MODEL, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPRITE_AXIS_SGIX, GL_SPRITE_MODE_SGIX, GL_SPRITE_SGIX, GL_SPRITE_TRANSLATION_SGIX, GL_STENCIL_BITS, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_BINDING_EXT, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_BINDING_SGIS, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_3D, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_COUNT_EXT, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_MATRIX, GL_TEXTURE_STACK_DEPTH, GL_UNPACK_ALIGNMENT, GL_UNPACK_CMYK_HINT_EXT, GL_UNPACK_IMAGE_DEPTH_SGIS, GL_UNPACK_IMAGE_HEIGHT_EXT, GL_UNPACK_LSB_FIRST, GL_UNPACK_RESAMPLE_SGIX, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_IMAGES_EXT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_VOLUMES_SGIS, GL_UNPACK_SUBSAMPLE_RATE_SGIX, GL_UNPACK_SWAP_BYTES, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_COUNT_EXT, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_PRECLIP_HINT_SGIX, GL_VERTEX_PRECLIP_SGIX, GL_VIEWPORT, GL_ZOOM_X, GL_ZOOM_Y.

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

The length of data should be COMPSIZE(pname).

glGetDoublev :: MonadIO m => GLenum -> Ptr GLdouble -> m () Source #

Usage: glGetDoublev pname data

The parameter pname is a GetPName, one of: GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_FUNC_QCOM, GL_ALPHA_TEST_QCOM, GL_ALPHA_TEST_REF, GL_ALPHA_TEST_REF_QCOM, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_MARKER_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_BLEND, GL_BLEND_COLOR_EXT, GL_BLEND_DST, GL_BLEND_EQUATION_EXT, GL_BLEND_SRC, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_ARRAY_COUNT_EXT, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_MATRIX_SGI, GL_COLOR_MATRIX_STACK_DEPTH_SGI, GL_COLOR_TABLE_SGI, GL_COLOR_WRITEMASK, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CONVOLUTION_HINT_SGIX, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_DEFORMATIONS_MASK_SGIX, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DETAIL_TEXTURE_2D_BINDING_SGIS, GL_DISTANCE_ATTENUATION_SGIS, GL_DITHER, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_BUFFER_EXT, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_COUNT_EXT, GL_EDGE_FLAG_ARRAY_STRIDE, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_FUNC_POINTS_SGIS, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_SGIX, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX, GL_FRAMEZOOM_FACTOR_SGIX, GL_FRAMEZOOM_SGIX, GL_FRONT_FACE, GL_GENERATE_MIPMAP_HINT_SGIS, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_ARRAY_COUNT_EXT, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INSTRUMENT_MEASUREMENTS_SGIX, 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_LIGHT_ENV_MODE_SGIX, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LIST_BASE, GL_LIST_INDEX, GL_LIST_MODE, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, 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_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, 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_MAP_COLOR, GL_MAP_STENCIL, GL_MATRIX_MODE, GL_MAX_3D_TEXTURE_SIZE_EXT, GL_MAX_4D_TEXTURE_SIZE_SGIS, GL_MAX_ACTIVE_LIGHTS_SGIX, GL_MAX_ASYNC_DRAW_PIXELS_SGIX, GL_MAX_ASYNC_HISTOGRAM_SGIX, GL_MAX_ASYNC_READ_PIXELS_SGIX, GL_MAX_ASYNC_TEX_IMAGE_SGIX, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIPMAP_DEPTH_SGIX, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_MAX_CLIP_DISTANCES, GL_MAX_CLIP_PLANES, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI, GL_MAX_EVAL_ORDER, GL_MAX_FOG_FUNC_POINTS_SGIS, GL_MAX_FRAGMENT_LIGHTS_SGIX, GL_MAX_FRAMEZOOM_FACTOR_SGIX, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MINMAX_EXT, GL_MODELVIEW0_MATRIX_EXT, GL_MODELVIEW0_STACK_DEPTH_EXT, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MULTISAMPLE_SGIS, GL_NAME_STACK_DEPTH, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_COUNT_EXT, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_PACK_ALIGNMENT, GL_PACK_CMYK_HINT_EXT, GL_PACK_IMAGE_DEPTH_SGIS, GL_PACK_IMAGE_HEIGHT_EXT, GL_PACK_LSB_FIRST, GL_PACK_RESAMPLE_SGIX, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_IMAGES_EXT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_VOLUMES_SGIS, GL_PACK_SUBSAMPLE_RATE_SGIX, GL_PACK_SWAP_BYTES, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_MODE_SGIX, GL_PIXEL_TEX_GEN_SGIX, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX, GL_PIXEL_TILE_CACHE_SIZE_SGIX, GL_PIXEL_TILE_GRID_DEPTH_SGIX, GL_PIXEL_TILE_GRID_HEIGHT_SGIX, GL_PIXEL_TILE_GRID_WIDTH_SGIX, GL_PIXEL_TILE_HEIGHT_SGIX, GL_PIXEL_TILE_WIDTH_SGIX, GL_POINT_FADE_THRESHOLD_SIZE_SGIS, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_MAX_SGIS, GL_POINT_SIZE_MIN_SGIS, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_BIAS_EXT, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI, GL_POST_COLOR_MATRIX_RED_BIAS_SGI, GL_POST_COLOR_MATRIX_RED_SCALE_SGI, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT, GL_POST_CONVOLUTION_BLUE_BIAS_EXT, GL_POST_CONVOLUTION_BLUE_SCALE_EXT, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_GREEN_BIAS_EXT, GL_POST_CONVOLUTION_GREEN_SCALE_EXT, GL_POST_CONVOLUTION_RED_BIAS_EXT, GL_POST_CONVOLUTION_RED_SCALE_EXT, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_READ_BUFFER, GL_READ_BUFFER_EXT, GL_READ_BUFFER_NV, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_REFERENCE_PLANE_EQUATION_SGIX, GL_REFERENCE_PLANE_SGIX, GL_RENDER_MODE, GL_RESCALE_NORMAL_EXT, GL_RGBA_MODE, GL_SAMPLES_SGIS, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_BUFFERS_SGIS, GL_SAMPLE_MASK_INVERT_SGIS, GL_SAMPLE_MASK_SGIS, GL_SAMPLE_MASK_VALUE_SGIS, GL_SAMPLE_PATTERN_SGIS, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECTION_BUFFER_SIZE, GL_SEPARABLE_2D_EXT, GL_SHADE_MODEL, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPRITE_AXIS_SGIX, GL_SPRITE_MODE_SGIX, GL_SPRITE_SGIX, GL_SPRITE_TRANSLATION_SGIX, GL_STENCIL_BITS, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_BINDING_EXT, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_BINDING_SGIS, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_3D, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_COUNT_EXT, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_MATRIX, GL_TEXTURE_STACK_DEPTH, GL_UNPACK_ALIGNMENT, GL_UNPACK_CMYK_HINT_EXT, GL_UNPACK_IMAGE_DEPTH_SGIS, GL_UNPACK_IMAGE_HEIGHT_EXT, GL_UNPACK_LSB_FIRST, GL_UNPACK_RESAMPLE_SGIX, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_IMAGES_EXT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_VOLUMES_SGIS, GL_UNPACK_SUBSAMPLE_RATE_SGIX, GL_UNPACK_SWAP_BYTES, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_COUNT_EXT, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_PRECLIP_HINT_SGIX, GL_VERTEX_PRECLIP_SGIX, GL_VIEWPORT, GL_ZOOM_X, GL_ZOOM_Y.

The length of data should be COMPSIZE(pname).

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

Usage: glGetFloatv pname data

The parameter pname is a GetPName, one of: GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_FUNC_QCOM, GL_ALPHA_TEST_QCOM, GL_ALPHA_TEST_REF, GL_ALPHA_TEST_REF_QCOM, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_MARKER_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_BLEND, GL_BLEND_COLOR_EXT, GL_BLEND_DST, GL_BLEND_EQUATION_EXT, GL_BLEND_SRC, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_ARRAY_COUNT_EXT, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_MATRIX_SGI, GL_COLOR_MATRIX_STACK_DEPTH_SGI, GL_COLOR_TABLE_SGI, GL_COLOR_WRITEMASK, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CONVOLUTION_HINT_SGIX, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_DEFORMATIONS_MASK_SGIX, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DETAIL_TEXTURE_2D_BINDING_SGIS, GL_DISTANCE_ATTENUATION_SGIS, GL_DITHER, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_BUFFER_EXT, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_COUNT_EXT, GL_EDGE_FLAG_ARRAY_STRIDE, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_FUNC_POINTS_SGIS, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_SGIX, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX, GL_FRAMEZOOM_FACTOR_SGIX, GL_FRAMEZOOM_SGIX, GL_FRONT_FACE, GL_GENERATE_MIPMAP_HINT_SGIS, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_ARRAY_COUNT_EXT, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INSTRUMENT_MEASUREMENTS_SGIX, 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_LIGHT_ENV_MODE_SGIX, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LIST_BASE, GL_LIST_INDEX, GL_LIST_MODE, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, 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_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, 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_MAP_COLOR, GL_MAP_STENCIL, GL_MATRIX_MODE, GL_MAX_3D_TEXTURE_SIZE_EXT, GL_MAX_4D_TEXTURE_SIZE_SGIS, GL_MAX_ACTIVE_LIGHTS_SGIX, GL_MAX_ASYNC_DRAW_PIXELS_SGIX, GL_MAX_ASYNC_HISTOGRAM_SGIX, GL_MAX_ASYNC_READ_PIXELS_SGIX, GL_MAX_ASYNC_TEX_IMAGE_SGIX, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIPMAP_DEPTH_SGIX, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_MAX_CLIP_DISTANCES, GL_MAX_CLIP_PLANES, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI, GL_MAX_EVAL_ORDER, GL_MAX_FOG_FUNC_POINTS_SGIS, GL_MAX_FRAGMENT_LIGHTS_SGIX, GL_MAX_FRAMEZOOM_FACTOR_SGIX, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MINMAX_EXT, GL_MODELVIEW0_MATRIX_EXT, GL_MODELVIEW0_STACK_DEPTH_EXT, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MULTISAMPLE_SGIS, GL_NAME_STACK_DEPTH, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_COUNT_EXT, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_PACK_ALIGNMENT, GL_PACK_CMYK_HINT_EXT, GL_PACK_IMAGE_DEPTH_SGIS, GL_PACK_IMAGE_HEIGHT_EXT, GL_PACK_LSB_FIRST, GL_PACK_RESAMPLE_SGIX, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_IMAGES_EXT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_VOLUMES_SGIS, GL_PACK_SUBSAMPLE_RATE_SGIX, GL_PACK_SWAP_BYTES, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_MODE_SGIX, GL_PIXEL_TEX_GEN_SGIX, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX, GL_PIXEL_TILE_CACHE_SIZE_SGIX, GL_PIXEL_TILE_GRID_DEPTH_SGIX, GL_PIXEL_TILE_GRID_HEIGHT_SGIX, GL_PIXEL_TILE_GRID_WIDTH_SGIX, GL_PIXEL_TILE_HEIGHT_SGIX, GL_PIXEL_TILE_WIDTH_SGIX, GL_POINT_FADE_THRESHOLD_SIZE_SGIS, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_MAX_SGIS, GL_POINT_SIZE_MIN_SGIS, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_BIAS_EXT, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI, GL_POST_COLOR_MATRIX_RED_BIAS_SGI, GL_POST_COLOR_MATRIX_RED_SCALE_SGI, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT, GL_POST_CONVOLUTION_BLUE_BIAS_EXT, GL_POST_CONVOLUTION_BLUE_SCALE_EXT, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_GREEN_BIAS_EXT, GL_POST_CONVOLUTION_GREEN_SCALE_EXT, GL_POST_CONVOLUTION_RED_BIAS_EXT, GL_POST_CONVOLUTION_RED_SCALE_EXT, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_READ_BUFFER, GL_READ_BUFFER_EXT, GL_READ_BUFFER_NV, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_REFERENCE_PLANE_EQUATION_SGIX, GL_REFERENCE_PLANE_SGIX, GL_RENDER_MODE, GL_RESCALE_NORMAL_EXT, GL_RGBA_MODE, GL_SAMPLES_SGIS, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_BUFFERS_SGIS, GL_SAMPLE_MASK_INVERT_SGIS, GL_SAMPLE_MASK_SGIS, GL_SAMPLE_MASK_VALUE_SGIS, GL_SAMPLE_PATTERN_SGIS, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECTION_BUFFER_SIZE, GL_SEPARABLE_2D_EXT, GL_SHADE_MODEL, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPRITE_AXIS_SGIX, GL_SPRITE_MODE_SGIX, GL_SPRITE_SGIX, GL_SPRITE_TRANSLATION_SGIX, GL_STENCIL_BITS, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_BINDING_EXT, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_BINDING_SGIS, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_3D, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_COUNT_EXT, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_MATRIX, GL_TEXTURE_STACK_DEPTH, GL_UNPACK_ALIGNMENT, GL_UNPACK_CMYK_HINT_EXT, GL_UNPACK_IMAGE_DEPTH_SGIS, GL_UNPACK_IMAGE_HEIGHT_EXT, GL_UNPACK_LSB_FIRST, GL_UNPACK_RESAMPLE_SGIX, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_IMAGES_EXT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_VOLUMES_SGIS, GL_UNPACK_SUBSAMPLE_RATE_SGIX, GL_UNPACK_SWAP_BYTES, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_COUNT_EXT, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_PRECLIP_HINT_SGIX, GL_VERTEX_PRECLIP_SGIX, GL_VIEWPORT, GL_ZOOM_X, GL_ZOOM_Y.

The length of data should be COMPSIZE(pname).

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

Usage: glGetIntegerv pname data

The parameter pname is a GetPName, one of: GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_FUNC_QCOM, GL_ALPHA_TEST_QCOM, GL_ALPHA_TEST_REF, GL_ALPHA_TEST_REF_QCOM, GL_ASYNC_DRAW_PIXELS_SGIX, GL_ASYNC_HISTOGRAM_SGIX, GL_ASYNC_MARKER_SGIX, GL_ASYNC_READ_PIXELS_SGIX, GL_ASYNC_TEX_IMAGE_SGIX, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_BLEND, GL_BLEND_COLOR_EXT, GL_BLEND_DST, GL_BLEND_EQUATION_EXT, GL_BLEND_SRC, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_CALLIGRAPHIC_FRAGMENT_SGIX, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COLOR_ARRAY, GL_COLOR_ARRAY_COUNT_EXT, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_MATRIX_SGI, GL_COLOR_MATRIX_STACK_DEPTH_SGI, GL_COLOR_TABLE_SGI, GL_COLOR_WRITEMASK, GL_CONVOLUTION_1D_EXT, GL_CONVOLUTION_2D_EXT, GL_CONVOLUTION_HINT_SGIX, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_DEFORMATIONS_MASK_SGIX, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DETAIL_TEXTURE_2D_BINDING_SGIS, GL_DISTANCE_ATTENUATION_SGIS, GL_DITHER, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_BUFFER_EXT, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_COUNT_EXT, GL_EDGE_FLAG_ARRAY_STRIDE, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_FUNC_POINTS_SGIS, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_OFFSET_SGIX, GL_FOG_OFFSET_VALUE_SGIX, GL_FOG_START, GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX, GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX, GL_FRAGMENT_COLOR_MATERIAL_SGIX, GL_FRAGMENT_LIGHT0_SGIX, GL_FRAGMENT_LIGHTING_SGIX, GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX, GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX, GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX, GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX, GL_FRAMEZOOM_FACTOR_SGIX, GL_FRAMEZOOM_SGIX, GL_FRONT_FACE, GL_GENERATE_MIPMAP_HINT_SGIS, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HISTOGRAM_EXT, GL_INDEX_ARRAY, GL_INDEX_ARRAY_COUNT_EXT, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INSTRUMENT_MEASUREMENTS_SGIX, 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_LIGHT_ENV_MODE_SGIX, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LIST_BASE, GL_LIST_INDEX, GL_LIST_MODE, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, 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_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, 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_MAP_COLOR, GL_MAP_STENCIL, GL_MATRIX_MODE, GL_MAX_3D_TEXTURE_SIZE_EXT, GL_MAX_4D_TEXTURE_SIZE_SGIS, GL_MAX_ACTIVE_LIGHTS_SGIX, GL_MAX_ASYNC_DRAW_PIXELS_SGIX, GL_MAX_ASYNC_HISTOGRAM_SGIX, GL_MAX_ASYNC_READ_PIXELS_SGIX, GL_MAX_ASYNC_TEX_IMAGE_SGIX, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIPMAP_DEPTH_SGIX, GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_MAX_CLIP_DISTANCES, GL_MAX_CLIP_PLANES, GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI, GL_MAX_EVAL_ORDER, GL_MAX_FOG_FUNC_POINTS_SGIS, GL_MAX_FRAGMENT_LIGHTS_SGIX, GL_MAX_FRAMEZOOM_FACTOR_SGIX, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MINMAX_EXT, GL_MODELVIEW0_MATRIX_EXT, GL_MODELVIEW0_STACK_DEPTH_EXT, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MULTISAMPLE_SGIS, GL_NAME_STACK_DEPTH, GL_NORMALIZE, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_COUNT_EXT, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_PACK_ALIGNMENT, GL_PACK_CMYK_HINT_EXT, GL_PACK_IMAGE_DEPTH_SGIS, GL_PACK_IMAGE_HEIGHT_EXT, GL_PACK_LSB_FIRST, GL_PACK_RESAMPLE_SGIX, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_IMAGES_EXT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_VOLUMES_SGIS, GL_PACK_SUBSAMPLE_RATE_SGIX, GL_PACK_SWAP_BYTES, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_TEXTURE_SGIS, GL_PIXEL_TEX_GEN_MODE_SGIX, GL_PIXEL_TEX_GEN_SGIX, GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX, GL_PIXEL_TILE_CACHE_INCREMENT_SGIX, GL_PIXEL_TILE_CACHE_SIZE_SGIX, GL_PIXEL_TILE_GRID_DEPTH_SGIX, GL_PIXEL_TILE_GRID_HEIGHT_SGIX, GL_PIXEL_TILE_GRID_WIDTH_SGIX, GL_PIXEL_TILE_HEIGHT_SGIX, GL_PIXEL_TILE_WIDTH_SGIX, GL_POINT_FADE_THRESHOLD_SIZE_SGIS, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_MAX_SGIS, GL_POINT_SIZE_MIN_SGIS, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_BIAS_EXT, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI, GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI, GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI, GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI, GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI, GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI, GL_POST_COLOR_MATRIX_RED_BIAS_SGI, GL_POST_COLOR_MATRIX_RED_SCALE_SGI, GL_POST_CONVOLUTION_ALPHA_BIAS_EXT, GL_POST_CONVOLUTION_ALPHA_SCALE_EXT, GL_POST_CONVOLUTION_BLUE_BIAS_EXT, GL_POST_CONVOLUTION_BLUE_SCALE_EXT, GL_POST_CONVOLUTION_COLOR_TABLE_SGI, GL_POST_CONVOLUTION_GREEN_BIAS_EXT, GL_POST_CONVOLUTION_GREEN_SCALE_EXT, GL_POST_CONVOLUTION_RED_BIAS_EXT, GL_POST_CONVOLUTION_RED_SCALE_EXT, GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX, GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_READ_BUFFER, GL_READ_BUFFER_EXT, GL_READ_BUFFER_NV, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_REFERENCE_PLANE_EQUATION_SGIX, GL_REFERENCE_PLANE_SGIX, GL_RENDER_MODE, GL_RESCALE_NORMAL_EXT, GL_RGBA_MODE, GL_SAMPLES_SGIS, GL_SAMPLE_ALPHA_TO_MASK_SGIS, GL_SAMPLE_ALPHA_TO_ONE_SGIS, GL_SAMPLE_BUFFERS_SGIS, GL_SAMPLE_MASK_INVERT_SGIS, GL_SAMPLE_MASK_SGIS, GL_SAMPLE_MASK_VALUE_SGIS, GL_SAMPLE_PATTERN_SGIS, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECTION_BUFFER_SIZE, GL_SEPARABLE_2D_EXT, GL_SHADE_MODEL, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPRITE_AXIS_SGIX, GL_SPRITE_MODE_SGIX, GL_SPRITE_SGIX, GL_SPRITE_TRANSLATION_SGIX, GL_STENCIL_BITS, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D_BINDING_EXT, GL_TEXTURE_3D_EXT, GL_TEXTURE_4D_BINDING_SGIS, GL_TEXTURE_4D_SGIS, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_3D, GL_TEXTURE_COLOR_TABLE_SGI, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_COUNT_EXT, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_MATRIX, GL_TEXTURE_STACK_DEPTH, GL_UNPACK_ALIGNMENT, GL_UNPACK_CMYK_HINT_EXT, GL_UNPACK_IMAGE_DEPTH_SGIS, GL_UNPACK_IMAGE_HEIGHT_EXT, GL_UNPACK_LSB_FIRST, GL_UNPACK_RESAMPLE_SGIX, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_IMAGES_EXT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_VOLUMES_SGIS, GL_UNPACK_SUBSAMPLE_RATE_SGIX, GL_UNPACK_SWAP_BYTES, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_COUNT_EXT, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_PRECLIP_HINT_SGIX, GL_VERTEX_PRECLIP_SGIX, GL_VIEWPORT, GL_ZOOM_X, GL_ZOOM_Y.

The length of data should be COMPSIZE(pname).

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

Usage: glGetMaterialfv face pname params

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The length of params should be COMPSIZE(pname).

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

Usage: glGetMaterialiv face pname params

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The length of params should be COMPSIZE(pname).

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

Usage: glGetPolygonStipple mask

The length of mask should be COMPSIZE().

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

Usage: glGetTexEnvfv target pname params

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexEnviv target pname params

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The length of params should be COMPSIZE(pname).

glGetTexGendv :: MonadIO m => GLenum -> GLenum -> Ptr GLdouble -> m () Source #

Usage: glGetTexGendv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexGenfv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexGeniv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexImage target level 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 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(target,level,format,type).

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

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

Usage: glGetTexLevelParameterfv target level pname params

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 pname is a GetTextureParameter, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS, GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS, GL_TEXTURE_4DSIZE_SGIS, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_BORDER_COLOR_NV, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_OPERATOR_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_COMPONENTS, GL_TEXTURE_DEPTH_EXT, GL_TEXTURE_FILTER4_SIZE_SGIS, GL_TEXTURE_GEQUAL_R_SGIX, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_LEQUAL_R_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD_SGIS, GL_TEXTURE_PRIORITY, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexLevelParameteriv target level pname params

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 pname is a GetTextureParameter, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS, GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS, GL_TEXTURE_4DSIZE_SGIS, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_BORDER_COLOR_NV, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_OPERATOR_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_COMPONENTS, GL_TEXTURE_DEPTH_EXT, GL_TEXTURE_FILTER4_SIZE_SGIS, GL_TEXTURE_GEQUAL_R_SGIX, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_LEQUAL_R_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD_SGIS, GL_TEXTURE_PRIORITY, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexParameterfv target pname params

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 pname is a GetTextureParameter, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS, GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS, GL_TEXTURE_4DSIZE_SGIS, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_BORDER_COLOR_NV, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_OPERATOR_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_COMPONENTS, GL_TEXTURE_DEPTH_EXT, GL_TEXTURE_FILTER4_SIZE_SGIS, GL_TEXTURE_GEQUAL_R_SGIX, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_LEQUAL_R_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD_SGIS, GL_TEXTURE_PRIORITY, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The length of params should be COMPSIZE(pname).

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

Usage: glGetTexParameteriv target pname params

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 pname is a GetTextureParameter, one of: GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS, GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS, GL_TEXTURE_4DSIZE_SGIS, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_BORDER_COLOR_NV, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_OPERATOR_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_COMPONENTS, GL_TEXTURE_DEPTH_EXT, GL_TEXTURE_FILTER4_SIZE_SGIS, GL_TEXTURE_GEQUAL_R_SGIX, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_LEQUAL_R_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD_SGIS, GL_TEXTURE_PRIORITY, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The length of params should be COMPSIZE(pname).

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

Usage: glHint target mode

The parameter target is a HintTarget, one of: GL_ALLOW_DRAW_FRG_HINT_PGI, GL_ALLOW_DRAW_MEM_HINT_PGI, GL_ALLOW_DRAW_OBJ_HINT_PGI, GL_ALLOW_DRAW_WIN_HINT_PGI, GL_ALWAYS_FAST_HINT_PGI, GL_ALWAYS_SOFT_HINT_PGI, GL_BACK_NORMALS_HINT_PGI, GL_BINNING_CONTROL_HINT_QCOM, GL_CLIP_FAR_HINT_PGI, GL_CLIP_NEAR_HINT_PGI, GL_CLIP_VOLUME_CLIPPING_HINT_EXT, GL_CONSERVE_MEMORY_HINT_PGI, GL_CONVOLUTION_HINT_SGIX, GL_FOG_HINT, GL_FRAGMENT_SHADER_DERIVATIVE_HINT, GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB, GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, GL_FULL_STIPPLE_HINT_PGI, GL_GENERATE_MIPMAP_HINT, GL_GENERATE_MIPMAP_HINT_SGIS, GL_LINE_QUALITY_HINT_SGIX, GL_LINE_SMOOTH_HINT, GL_MATERIAL_SIDE_HINT_PGI, GL_MAX_VERTEX_HINT_PGI, GL_MULTISAMPLE_FILTER_HINT_NV, GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI, GL_NATIVE_GRAPHICS_END_HINT_PGI, GL_PACK_CMYK_HINT_EXT, GL_PERSPECTIVE_CORRECTION_HINT, GL_PHONG_HINT_WIN, GL_POINT_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_PREFER_DOUBLEBUFFER_HINT_PGI, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_RECLAIM_MEMORY_HINT_PGI, GL_SCALEBIAS_HINT_SGIX, GL_STRICT_DEPTHFUNC_HINT_PGI, GL_STRICT_LIGHTING_HINT_PGI, GL_STRICT_SCISSOR_HINT_PGI, GL_TEXTURE_COMPRESSION_HINT, GL_TEXTURE_COMPRESSION_HINT_ARB, GL_TEXTURE_MULTI_BUFFER_HINT_SGIX, GL_TEXTURE_STORAGE_HINT_APPLE, GL_TRANSFORM_HINT_APPLE, GL_UNPACK_CMYK_HINT_EXT, GL_VERTEX_ARRAY_STORAGE_HINT_APPLE, GL_VERTEX_CONSISTENT_HINT_PGI, GL_VERTEX_DATA_HINT_PGI, GL_VERTEX_PRECLIP_HINT_SGIX, GL_VERTEX_PRECLIP_SGIX, GL_WIDE_LINE_HINT_PGI.

The parameter mode is a HintMode, one of: GL_DONT_CARE, GL_FASTEST, GL_NICEST.

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

glIndexMask :: MonadIO m => GLuint -> m () Source #

Usage: glIndexMask mask

The parameter mask is a MaskedColorIndexValueI.

glIndexd :: MonadIO m => GLdouble -> m () Source #

Usage: glIndexd c

The parameter c is a ColorIndexValueD.

The vector equivalent of this command is glIndexdv.

glIndexdv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glIndexdv c

The parameter c is a ColorIndexValueD.

The length of c should be 1.

glIndexf :: MonadIO m => GLfloat -> m () Source #

Usage: glIndexf c

The parameter c is a ColorIndexValueF.

The vector equivalent of this command is glIndexfv.

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

Usage: glIndexfv c

The parameter c is a ColorIndexValueF.

The length of c should be 1.

glIndexi :: MonadIO m => GLint -> m () Source #

Usage: glIndexi c

The parameter c is a ColorIndexValueI.

The vector equivalent of this command is glIndexiv.

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

Usage: glIndexiv c

The parameter c is a ColorIndexValueI.

The length of c should be 1.

glIndexs :: MonadIO m => GLshort -> m () Source #

Usage: glIndexs c

The parameter c is a ColorIndexValueS.

The vector equivalent of this command is glIndexsv.

glIndexsv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glIndexsv c

The parameter c is a ColorIndexValueS.

The length of c should be 1.

glIsEnabled :: MonadIO m => GLenum -> m GLboolean Source #

Usage: glIsEnabled cap

The parameter cap 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.

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

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

Usage: glIsList list

The parameter list is a List.

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

Usage: glLightModelfv pname params

The parameter pname is a LightModelParameter, one of: GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_COLOR_CONTROL_EXT, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE.

The length of params should be COMPSIZE(pname).

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

Usage: glLightModeliv pname params

The parameter pname is a LightModelParameter, one of: GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_COLOR_CONTROL_EXT, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE.

The length of params should be COMPSIZE(pname).

glLineStipple :: MonadIO m => GLint -> GLushort -> m () Source #

Usage: glLineStipple factor pattern

The parameter factor is a CheckedInt32.

The parameter pattern is a LineStipple.

glLineWidth :: MonadIO m => GLfloat -> m () Source #

Usage: glLineWidth width

The parameter width is a CheckedFloat32.

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

glListBase :: MonadIO m => GLuint -> m () Source #

Usage: glListBase base

The parameter base is a List.

glLoadMatrixd :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glLoadMatrixd m

The length of m should be 16.

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

Usage: glLoadMatrixf m

The length of m should be 16.

glLoadName :: MonadIO m => GLuint -> m () Source #

Usage: glLoadName name

The parameter name is a SelectName.

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

Usage: glMap1d target u1 u2 stride order points

The parameter target is a MapTarget, one of: GL_GEOMETRY_DEFORMATION_SGIX, 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_TEXTURE_DEFORMATION_SGIX.

The parameter u1 is a CoordD.

The parameter u2 is a CoordD.

The parameter order is a CheckedInt32.

The parameter points is a CoordD.

The length of points should be COMPSIZE(target,stride,order).

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

Usage: glMap1f target u1 u2 stride order points

The parameter target is a MapTarget, one of: GL_GEOMETRY_DEFORMATION_SGIX, 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_TEXTURE_DEFORMATION_SGIX.

The parameter u1 is a CoordF.

The parameter u2 is a CoordF.

The parameter order is a CheckedInt32.

The parameter points is a CoordF.

The length of points should be COMPSIZE(target,stride,order).

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

Usage: glMap2d target u1 u2 ustride uorder v1 v2 vstride vorder points

The parameter target is a MapTarget, one of: GL_GEOMETRY_DEFORMATION_SGIX, 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_TEXTURE_DEFORMATION_SGIX.

The parameter u1 is a CoordD.

The parameter u2 is a CoordD.

The parameter uorder is a CheckedInt32.

The parameter v1 is a CoordD.

The parameter v2 is a CoordD.

The parameter vorder is a CheckedInt32.

The parameter points is a CoordD.

The length of points should be COMPSIZE(target,ustride,uorder,vstride,vorder).

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

Usage: glMap2f target u1 u2 ustride uorder v1 v2 vstride vorder points

The parameter target is a MapTarget, one of: GL_GEOMETRY_DEFORMATION_SGIX, 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_TEXTURE_DEFORMATION_SGIX.

The parameter u1 is a CoordF.

The parameter u2 is a CoordF.

The parameter uorder is a CheckedInt32.

The parameter v1 is a CoordF.

The parameter v2 is a CoordF.

The parameter vorder is a CheckedInt32.

The parameter points is a CoordF.

The length of points should be COMPSIZE(target,ustride,uorder,vstride,vorder).

glMapGrid1d :: MonadIO m => GLint -> GLdouble -> GLdouble -> m () Source #

Usage: glMapGrid1d un u1 u2

The parameter u1 is a CoordD.

The parameter u2 is a CoordD.

glMapGrid1f :: MonadIO m => GLint -> GLfloat -> GLfloat -> m () Source #

Usage: glMapGrid1f un u1 u2

The parameter u1 is a CoordF.

The parameter u2 is a CoordF.

glMapGrid2d :: MonadIO m => GLint -> GLdouble -> GLdouble -> GLint -> GLdouble -> GLdouble -> m () Source #

Usage: glMapGrid2d un u1 u2 vn v1 v2

The parameter u1 is a CoordD.

The parameter u2 is a CoordD.

The parameter v1 is a CoordD.

The parameter v2 is a CoordD.

glMapGrid2f :: MonadIO m => GLint -> GLfloat -> GLfloat -> GLint -> GLfloat -> GLfloat -> m () Source #

Usage: glMapGrid2f un u1 u2 vn v1 v2

The parameter u1 is a CoordF.

The parameter u2 is a CoordF.

The parameter v1 is a CoordF.

The parameter v2 is a CoordF.

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

Usage: glMaterialf face pname param

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The parameter param is a CheckedFloat32.

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

Usage: glMaterialfv face pname params

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glMateriali face pname param

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The parameter param is a CheckedInt32.

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

Usage: glMaterialiv face pname params

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter pname is a MaterialParameter, one of: GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES, GL_DIFFUSE, GL_EMISSION, GL_SHININESS, GL_SPECULAR.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

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

Usage: glMatrixMode mode

The parameter mode is a MatrixMode, one of: GL_MODELVIEW, GL_MODELVIEW0_EXT, GL_PROJECTION, GL_TEXTURE.

glMultMatrixd :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glMultMatrixd m

The length of m should be 16.

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

Usage: glMultMatrixf m

The length of m should be 16.

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

Usage: glNewList list mode

The parameter list is a List.

The parameter mode is a ListMode, one of: GL_COMPILE, GL_COMPILE_AND_EXECUTE.

glNormal3b :: MonadIO m => GLbyte -> GLbyte -> GLbyte -> m () Source #

Usage: glNormal3b nx ny nz

The vector equivalent of this command is glNormal3bv.

glNormal3bv :: MonadIO m => Ptr GLbyte -> m () Source #

Usage: glNormal3bv v

The length of v should be 3.

glNormal3d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glNormal3d nx ny nz

The parameter nx is a CoordD.

The parameter ny is a CoordD.

The parameter nz is a CoordD.

The vector equivalent of this command is glNormal3dv.

glNormal3dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glNormal3dv v

The parameter v is a CoordD.

The length of v should be 3.

glNormal3f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glNormal3f nx ny nz

The parameter nx is a CoordF.

The parameter ny is a CoordF.

The parameter nz is a CoordF.

The vector equivalent of this command is glNormal3fv.

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

Usage: glNormal3fv v

The parameter v is a CoordF.

The length of v should be 3.

glNormal3i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #

Usage: glNormal3i nx ny nz

The vector equivalent of this command is glNormal3iv.

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

Usage: glNormal3iv v

The length of v should be 3.

glNormal3s :: MonadIO m => GLshort -> GLshort -> GLshort -> m () Source #

Usage: glNormal3s nx ny nz

The vector equivalent of this command is glNormal3sv.

glNormal3sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glNormal3sv v

The length of v should be 3.

glOrtho :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glOrtho left right bottom top zNear zFar

glPassThrough :: MonadIO m => GLfloat -> m () Source #

Usage: glPassThrough token

The parameter token is a FeedbackElement.

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

Usage: glPixelMapfv map mapsize values

The parameter map is a PixelMap, one of: GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_S_TO_S.

The parameter mapsize is a CheckedInt32.

The length of values should be mapsize.

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

Usage: glPixelMapuiv map mapsize values

The parameter map is a PixelMap, one of: GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_S_TO_S.

The parameter mapsize is a CheckedInt32.

The length of values should be mapsize.

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

Usage: glPixelMapusv map mapsize values

The parameter map is a PixelMap, one of: GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_S_TO_S.

The parameter mapsize is a CheckedInt32.

The length of values should be mapsize.

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

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

glPixelZoom :: MonadIO m => GLfloat -> GLfloat -> m () Source #

Usage: glPixelZoom xfactor yfactor

glPointSize :: MonadIO m => GLfloat -> m () Source #

Usage: glPointSize size

The parameter size is a CheckedFloat32.

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

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

Usage: glPolygonMode face mode

The parameter face is a MaterialFace, one of: GL_BACK, GL_FRONT, GL_FRONT_AND_BACK.

The parameter mode is a PolygonMode, one of: GL_FILL, GL_LINE, GL_POINT.

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

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

Usage: glPolygonStipple mask

The length of mask should be COMPSIZE().

glPopName :: MonadIO m => m () Source #

Usage: glPopName

glPushName :: MonadIO m => GLuint -> m () Source #

Usage: glPushName name

The parameter name is a SelectName.

glRasterPos2d :: MonadIO m => GLdouble -> GLdouble -> m () Source #

Usage: glRasterPos2d x y

The parameter x is a CoordD.

The parameter y is a CoordD.

The vector equivalent of this command is glRasterPos2dv.

glRasterPos2dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glRasterPos2dv v

The parameter v is a CoordD.

The length of v should be 2.

glRasterPos2f :: MonadIO m => GLfloat -> GLfloat -> m () Source #

Usage: glRasterPos2f x y

The parameter x is a CoordF.

The parameter y is a CoordF.

The vector equivalent of this command is glRasterPos2fv.

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

Usage: glRasterPos2fv v

The parameter v is a CoordF.

The length of v should be 2.

glRasterPos2i :: MonadIO m => GLint -> GLint -> m () Source #

Usage: glRasterPos2i x y

The parameter x is a CoordI.

The parameter y is a CoordI.

The vector equivalent of this command is glRasterPos2iv.

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

Usage: glRasterPos2iv v

The parameter v is a CoordI.

The length of v should be 2.

glRasterPos2s :: MonadIO m => GLshort -> GLshort -> m () Source #

Usage: glRasterPos2s x y

The parameter x is a CoordS.

The parameter y is a CoordS.

The vector equivalent of this command is glRasterPos2sv.

glRasterPos2sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glRasterPos2sv v

The parameter v is a CoordS.

The length of v should be 2.

glRasterPos3d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glRasterPos3d x y z

The parameter x is a CoordD.

The parameter y is a CoordD.

The parameter z is a CoordD.

The vector equivalent of this command is glRasterPos3dv.

glRasterPos3dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glRasterPos3dv v

The parameter v is a CoordD.

The length of v should be 3.

glRasterPos3f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glRasterPos3f x y z

The parameter x is a CoordF.

The parameter y is a CoordF.

The parameter z is a CoordF.

The vector equivalent of this command is glRasterPos3fv.

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

Usage: glRasterPos3fv v

The parameter v is a CoordF.

The length of v should be 3.

glRasterPos3i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #

Usage: glRasterPos3i x y z

The parameter x is a CoordI.

The parameter y is a CoordI.

The parameter z is a CoordI.

The vector equivalent of this command is glRasterPos3iv.

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

Usage: glRasterPos3iv v

The parameter v is a CoordI.

The length of v should be 3.

glRasterPos3s :: MonadIO m => GLshort -> GLshort -> GLshort -> m () Source #

Usage: glRasterPos3s x y z

The parameter x is a CoordS.

The parameter y is a CoordS.

The parameter z is a CoordS.

The vector equivalent of this command is glRasterPos3sv.

glRasterPos3sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glRasterPos3sv v

The parameter v is a CoordS.

The length of v should be 3.

glRasterPos4d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glRasterPos4d x y z w

The parameter x is a CoordD.

The parameter y is a CoordD.

The parameter z is a CoordD.

The parameter w is a CoordD.

The vector equivalent of this command is glRasterPos4dv.

glRasterPos4dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glRasterPos4dv v

The parameter v is a CoordD.

The length of v should be 4.

glRasterPos4f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glRasterPos4f x y z w

The parameter x is a CoordF.

The parameter y is a CoordF.

The parameter z is a CoordF.

The parameter w is a CoordF.

The vector equivalent of this command is glRasterPos4fv.

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

Usage: glRasterPos4fv v

The parameter v is a CoordF.

The length of v should be 4.

glRasterPos4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glRasterPos4i x y z w

The parameter x is a CoordI.

The parameter y is a CoordI.

The parameter z is a CoordI.

The parameter w is a CoordI.

The vector equivalent of this command is glRasterPos4iv.

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

Usage: glRasterPos4iv v

The parameter v is a CoordI.

The length of v should be 4.

glRasterPos4s :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glRasterPos4s x y z w

The parameter x is a CoordS.

The parameter y is a CoordS.

The parameter z is a CoordS.

The parameter w is a CoordS.

The vector equivalent of this command is glRasterPos4sv.

glRasterPos4sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glRasterPos4sv v

The parameter v is a CoordS.

The length of v should be 4.

glRectd :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glRectd x1 y1 x2 y2

The parameter x1 is a CoordD.

The parameter y1 is a CoordD.

The parameter x2 is a CoordD.

The parameter y2 is a CoordD.

The vector equivalent of this command is glRectdv.

glRectdv :: MonadIO m => Ptr GLdouble -> Ptr GLdouble -> m () Source #

Usage: glRectdv v1 v2

The parameter v1 is a CoordD.

The parameter v2 is a CoordD.

The length of v1 should be 2.

The length of v2 should be 2.

glRectf :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glRectf x1 y1 x2 y2

The parameter x1 is a CoordF.

The parameter y1 is a CoordF.

The parameter x2 is a CoordF.

The parameter y2 is a CoordF.

The vector equivalent of this command is glRectfv.

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

Usage: glRectfv v1 v2

The parameter v1 is a CoordF.

The parameter v2 is a CoordF.

The length of v1 should be 2.

The length of v2 should be 2.

glRecti :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glRecti x1 y1 x2 y2

The parameter x1 is a CoordI.

The parameter y1 is a CoordI.

The parameter x2 is a CoordI.

The parameter y2 is a CoordI.

The vector equivalent of this command is glRectiv.

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

Usage: glRectiv v1 v2

The parameter v1 is a CoordI.

The parameter v2 is a CoordI.

The length of v1 should be 2.

The length of v2 should be 2.

glRects :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glRects x1 y1 x2 y2

The parameter x1 is a CoordS.

The parameter y1 is a CoordS.

The parameter x2 is a CoordS.

The parameter y2 is a CoordS.

The vector equivalent of this command is glRectsv.

glRectsv :: MonadIO m => Ptr GLshort -> Ptr GLshort -> m () Source #

Usage: glRectsv v1 v2

The parameter v1 is a CoordS.

The parameter v2 is a CoordS.

The length of v1 should be 2.

The length of v2 should be 2.

glRenderMode :: MonadIO m => GLenum -> m GLint Source #

Usage: glRenderMode mode

The parameter mode is a RenderingMode, one of: GL_FEEDBACK, GL_RENDER, GL_SELECT.

glRotated :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glRotated angle x y z

glRotatef :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glRotatef angle x y z

glScaled :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glScaled x y z

glScalef :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glScalef x y z

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

Usage: glScissor x y width height

The parameter x is a WinCoord.

The parameter y is a WinCoord.

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

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

Usage: glSelectBuffer size buffer

The parameter buffer is a SelectName.

The length of buffer should be size.

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

Usage: glShadeModel mode

The parameter mode is a ShadingModel, one of: GL_FLAT, GL_SMOOTH.

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

Usage: glStencilFunc func ref mask

The parameter func is a StencilFunction, one of: GL_ALWAYS, GL_EQUAL, GL_GEQUAL, GL_GREATER, GL_LEQUAL, GL_LESS, GL_NEVER, GL_NOTEQUAL.

The parameter ref is a StencilValue.

The parameter mask is a MaskedStencilValue.

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

glStencilMask :: MonadIO m => GLuint -> m () Source #

Usage: glStencilMask mask

The parameter mask is a MaskedStencilValue.

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

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

Usage: glStencilOp fail zfail zpass

The parameter fail is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

The parameter zfail is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

The parameter zpass is a StencilOp, one of: GL_DECR, GL_INCR, GL_INVERT, GL_KEEP, GL_REPLACE, GL_ZERO.

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

glTexCoord1d :: MonadIO m => GLdouble -> m () Source #

Usage: glTexCoord1d s

The parameter s is a CoordD.

The vector equivalent of this command is glTexCoord1dv.

glTexCoord1dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glTexCoord1dv v

The parameter v is a CoordD.

The length of v should be 1.

glTexCoord1f :: MonadIO m => GLfloat -> m () Source #

Usage: glTexCoord1f s

The parameter s is a CoordF.

The vector equivalent of this command is glTexCoord1fv.

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

Usage: glTexCoord1fv v

The parameter v is a CoordF.

The length of v should be 1.

glTexCoord1i :: MonadIO m => GLint -> m () Source #

Usage: glTexCoord1i s

The parameter s is a CoordI.

The vector equivalent of this command is glTexCoord1iv.

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

Usage: glTexCoord1iv v

The parameter v is a CoordI.

The length of v should be 1.

glTexCoord1s :: MonadIO m => GLshort -> m () Source #

Usage: glTexCoord1s s

The parameter s is a CoordS.

The vector equivalent of this command is glTexCoord1sv.

glTexCoord1sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glTexCoord1sv v

The parameter v is a CoordS.

The length of v should be 1.

glTexCoord2d :: MonadIO m => GLdouble -> GLdouble -> m () Source #

Usage: glTexCoord2d s t

The parameter s is a CoordD.

The parameter t is a CoordD.

The vector equivalent of this command is glTexCoord2dv.

glTexCoord2dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glTexCoord2dv v

The parameter v is a CoordD.

The length of v should be 2.

glTexCoord2f :: MonadIO m => GLfloat -> GLfloat -> m () Source #

Usage: glTexCoord2f s t

The parameter s is a CoordF.

The parameter t is a CoordF.

The vector equivalent of this command is glTexCoord2fv.

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

Usage: glTexCoord2fv v

The parameter v is a CoordF.

The length of v should be 2.

glTexCoord2i :: MonadIO m => GLint -> GLint -> m () Source #

Usage: glTexCoord2i s t

The parameter s is a CoordI.

The parameter t is a CoordI.

The vector equivalent of this command is glTexCoord2iv.

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

Usage: glTexCoord2iv v

The parameter v is a CoordI.

The length of v should be 2.

glTexCoord2s :: MonadIO m => GLshort -> GLshort -> m () Source #

Usage: glTexCoord2s s t

The parameter s is a CoordS.

The parameter t is a CoordS.

The vector equivalent of this command is glTexCoord2sv.

glTexCoord2sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glTexCoord2sv v

The parameter v is a CoordS.

The length of v should be 2.

glTexCoord3d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glTexCoord3d s t r

The parameter s is a CoordD.

The parameter t is a CoordD.

The parameter r is a CoordD.

The vector equivalent of this command is glTexCoord3dv.

glTexCoord3dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glTexCoord3dv v

The parameter v is a CoordD.

The length of v should be 3.

glTexCoord3f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glTexCoord3f s t r

The parameter s is a CoordF.

The parameter t is a CoordF.

The parameter r is a CoordF.

The vector equivalent of this command is glTexCoord3fv.

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

Usage: glTexCoord3fv v

The parameter v is a CoordF.

The length of v should be 3.

glTexCoord3i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #

Usage: glTexCoord3i s t r

The parameter s is a CoordI.

The parameter t is a CoordI.

The parameter r is a CoordI.

The vector equivalent of this command is glTexCoord3iv.

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

Usage: glTexCoord3iv v

The parameter v is a CoordI.

The length of v should be 3.

glTexCoord3s :: MonadIO m => GLshort -> GLshort -> GLshort -> m () Source #

Usage: glTexCoord3s s t r

The parameter s is a CoordS.

The parameter t is a CoordS.

The parameter r is a CoordS.

The vector equivalent of this command is glTexCoord3sv.

glTexCoord3sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glTexCoord3sv v

The parameter v is a CoordS.

The length of v should be 3.

glTexCoord4d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glTexCoord4d s t r q

The parameter s is a CoordD.

The parameter t is a CoordD.

The parameter r is a CoordD.

The parameter q is a CoordD.

The vector equivalent of this command is glTexCoord4dv.

glTexCoord4dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glTexCoord4dv v

The parameter v is a CoordD.

The length of v should be 4.

glTexCoord4f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glTexCoord4f s t r q

The parameter s is a CoordF.

The parameter t is a CoordF.

The parameter r is a CoordF.

The parameter q is a CoordF.

The vector equivalent of this command is glTexCoord4fv.

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

Usage: glTexCoord4fv v

The parameter v is a CoordF.

The length of v should be 4.

glTexCoord4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glTexCoord4i s t r q

The parameter s is a CoordI.

The parameter t is a CoordI.

The parameter r is a CoordI.

The parameter q is a CoordI.

The vector equivalent of this command is glTexCoord4iv.

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

Usage: glTexCoord4iv v

The parameter v is a CoordI.

The length of v should be 4.

glTexCoord4s :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glTexCoord4s s t r q

The parameter s is a CoordS.

The parameter t is a CoordS.

The parameter r is a CoordS.

The parameter q is a CoordS.

The vector equivalent of this command is glTexCoord4sv.

glTexCoord4sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glTexCoord4sv v

The parameter v is a CoordS.

The length of v should be 4.

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

Usage: glTexEnvf target pname param

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The parameter param is a CheckedFloat32.

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

Usage: glTexEnvfv target pname params

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glTexEnvi target pname param

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The parameter param is a CheckedInt32.

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

Usage: glTexEnviv target pname params

The parameter target is a TextureEnvTarget, one of: GL_TEXTURE_ENV.

The parameter pname is a TextureEnvParameter, one of: GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

glTexGend :: MonadIO m => GLenum -> GLenum -> GLdouble -> m () Source #

Usage: glTexGend coord pname param

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

glTexGendv :: MonadIO m => GLenum -> GLenum -> Ptr GLdouble -> m () Source #

Usage: glTexGendv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The length of params should be COMPSIZE(pname).

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

Usage: glTexGenf coord pname param

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The parameter param is a CheckedFloat32.

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

Usage: glTexGenfv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glTexGeni coord pname param

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The parameter param is a CheckedInt32.

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

Usage: glTexGeniv coord pname params

The parameter coord is a TextureCoordName, one of: GL_S, GL_T, GL_R, GL_Q.

The parameter pname is a TextureGenParameter, one of: GL_EYE_LINE_SGIS, GL_EYE_PLANE, GL_EYE_POINT_SGIS, GL_OBJECT_LINE_SGIS, GL_OBJECT_PLANE, GL_OBJECT_POINT_SGIS, GL_TEXTURE_GEN_MODE.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

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

Usage: glTexImage1D target level internalformat width 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).

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

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

Usage: glTexImage2D target level internalformat width height 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).

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

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

Usage: glTexParameterf target pname param

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 pname is a TextureParameterName, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_PRIORITY, GL_TEXTURE_PRIORITY_EXT, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_R_OES, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The parameter param is a CheckedFloat32.

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

Usage: glTexParameterfv target pname params

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 pname is a TextureParameterName, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_PRIORITY, GL_TEXTURE_PRIORITY_EXT, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_R_OES, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glTexParameteri target pname param

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 pname is a TextureParameterName, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_PRIORITY, GL_TEXTURE_PRIORITY_EXT, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_R_OES, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The parameter param is a CheckedInt32.

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

Usage: glTexParameteriv target pname params

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 pname is a TextureParameterName, one of: GL_DETAIL_TEXTURE_LEVEL_SGIS, GL_DETAIL_TEXTURE_MODE_SGIS, GL_DUAL_TEXTURE_SELECT_SGIS, GL_GENERATE_MIPMAP, GL_GENERATE_MIPMAP_SGIS, GL_POST_TEXTURE_FILTER_BIAS_SGIX, GL_POST_TEXTURE_FILTER_SCALE_SGIX, GL_QUAD_TEXTURE_SELECT_SGIS, GL_SHADOW_AMBIENT_SGIX, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_CLIPMAP_CENTER_SGIX, GL_TEXTURE_CLIPMAP_DEPTH_SGIX, GL_TEXTURE_CLIPMAP_FRAME_SGIX, GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_OFFSET_SGIX, GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, GL_TEXTURE_COMPARE_SGIX, GL_TEXTURE_LOD_BIAS_R_SGIX, GL_TEXTURE_LOD_BIAS_S_SGIX, GL_TEXTURE_LOD_BIAS_T_SGIX, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_CLAMP_R_SGIX, GL_TEXTURE_MAX_CLAMP_S_SGIX, GL_TEXTURE_MAX_CLAMP_T_SGIX, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_PRIORITY, GL_TEXTURE_PRIORITY_EXT, GL_TEXTURE_WRAP_Q_SGIS, GL_TEXTURE_WRAP_R, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_R_OES, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

glTranslatef :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glTranslatef x y z

glVertex2d :: MonadIO m => GLdouble -> GLdouble -> m () Source #

Usage: glVertex2d x y

The parameter x is a CoordD.

The parameter y is a CoordD.

The vector equivalent of this command is glVertex2dv.

glVertex2dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glVertex2dv v

The parameter v is a CoordD.

The length of v should be 2.

glVertex2f :: MonadIO m => GLfloat -> GLfloat -> m () Source #

Usage: glVertex2f x y

The parameter x is a CoordF.

The parameter y is a CoordF.

The vector equivalent of this command is glVertex2fv.

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

Usage: glVertex2fv v

The parameter v is a CoordF.

The length of v should be 2.

glVertex2i :: MonadIO m => GLint -> GLint -> m () Source #

Usage: glVertex2i x y

The parameter x is a CoordI.

The parameter y is a CoordI.

The vector equivalent of this command is glVertex2iv.

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

Usage: glVertex2iv v

The parameter v is a CoordI.

The length of v should be 2.

glVertex2s :: MonadIO m => GLshort -> GLshort -> m () Source #

Usage: glVertex2s x y

The parameter x is a CoordS.

The parameter y is a CoordS.

The vector equivalent of this command is glVertex2sv.

glVertex2sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glVertex2sv v

The parameter v is a CoordS.

The length of v should be 2.

glVertex3d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glVertex3d x y z

The parameter x is a CoordD.

The parameter y is a CoordD.

The parameter z is a CoordD.

The vector equivalent of this command is glVertex3dv.

glVertex3dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glVertex3dv v

The parameter v is a CoordD.

The length of v should be 3.

glVertex3f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glVertex3f x y z

The parameter x is a CoordF.

The parameter y is a CoordF.

The parameter z is a CoordF.

The vector equivalent of this command is glVertex3fv.

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

Usage: glVertex3fv v

The parameter v is a CoordF.

The length of v should be 3.

glVertex3i :: MonadIO m => GLint -> GLint -> GLint -> m () Source #

Usage: glVertex3i x y z

The parameter x is a CoordI.

The parameter y is a CoordI.

The parameter z is a CoordI.

The vector equivalent of this command is glVertex3iv.

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

Usage: glVertex3iv v

The parameter v is a CoordI.

The length of v should be 3.

glVertex3s :: MonadIO m => GLshort -> GLshort -> GLshort -> m () Source #

Usage: glVertex3s x y z

The parameter x is a CoordS.

The parameter y is a CoordS.

The parameter z is a CoordS.

The vector equivalent of this command is glVertex3sv.

glVertex3sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glVertex3sv v

The parameter v is a CoordS.

The length of v should be 3.

glVertex4d :: MonadIO m => GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glVertex4d x y z w

The parameter x is a CoordD.

The parameter y is a CoordD.

The parameter z is a CoordD.

The parameter w is a CoordD.

The vector equivalent of this command is glVertex4dv.

glVertex4dv :: MonadIO m => Ptr GLdouble -> m () Source #

Usage: glVertex4dv v

The parameter v is a CoordD.

The length of v should be 4.

glVertex4f :: MonadIO m => GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glVertex4f x y z w

The parameter x is a CoordF.

The parameter y is a CoordF.

The parameter z is a CoordF.

The parameter w is a CoordF.

The vector equivalent of this command is glVertex4fv.

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

Usage: glVertex4fv v

The parameter v is a CoordF.

The length of v should be 4.

glVertex4i :: MonadIO m => GLint -> GLint -> GLint -> GLint -> m () Source #

Usage: glVertex4i x y z w

The parameter x is a CoordI.

The parameter y is a CoordI.

The parameter z is a CoordI.

The parameter w is a CoordI.

The vector equivalent of this command is glVertex4iv.

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

Usage: glVertex4iv v

The parameter v is a CoordI.

The length of v should be 4.

glVertex4s :: MonadIO m => GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glVertex4s x y z w

The parameter x is a CoordS.

The parameter y is a CoordS.

The parameter z is a CoordS.

The parameter w is a CoordS.

The vector equivalent of this command is glVertex4sv.

glVertex4sv :: MonadIO m => Ptr GLshort -> m () Source #

Usage: glVertex4sv v

The parameter v is a CoordS.

The length of v should be 4.

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

Usage: glViewport x y width height

The parameter x is a WinCoord.

The parameter y is a WinCoord.

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