gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.EmbeddedCommon11

Synopsis

Graphics.GL.EmbeddedCommon11

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.

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

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

Usage: glClipPlanef p eqn

The length of eqn 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.

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).

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

Usage: glFrustumf l r b t n f

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

Usage: glGetClipPlanef plane equation

The length of equation should be 4.

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).

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).

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).

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).

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).

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

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

Usage: glLoadMatrixf m

The length of m should be 16.

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).

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

Usage: glMultMatrixf m

The length of m should be 16.

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

Usage: glMultiTexCoord4f target s t r q

The parameter target is a TextureUnit.

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 glMultiTexCoord4fv.

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.

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

Usage: glOrthof l r b t n f

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

Usage: glPointParameterf pname param

The parameter pname is a PointParameterNameARB.

The parameter param is a CheckedFloat32.

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

Usage: glPointParameterfv pname params

The parameter pname is a PointParameterNameARB.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

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

Usage: glRotatef angle x y z

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

Usage: glScalef x y z

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).

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).

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

Usage: glTranslatef x y z