gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Standard14

Contents

Synopsis

Graphics.GL.Standard14

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

Usage: glBlendColor 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/glBlendColor.xhtml

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

Usage: glBlendEquation mode

The parameter mode is a BlendEquationMode.

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

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

Usage: glBlendFuncSeparate sfactorRGB dfactorRGB sfactorAlpha dfactorAlpha

The parameter sfactorRGB is a BlendFuncSeparateParameterEXT.

The parameter dfactorRGB is a BlendFuncSeparateParameterEXT.

The parameter sfactorAlpha is a BlendFuncSeparateParameterEXT.

The parameter dfactorAlpha is a BlendFuncSeparateParameterEXT.

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

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

Usage: glFogCoordPointer type stride pointer

The parameter type is a FogPointerTypeEXT, one of: GL_FLOAT, GL_DOUBLE.

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

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

Usage: glFogCoordd coord

The parameter coord is a CoordD.

The vector equivalent of this command is glFogCoorddv.

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

Usage: glFogCoorddv coord

The parameter coord is a CoordD.

The length of coord should be 1.

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

Usage: glFogCoordf coord

The parameter coord is a CoordF.

The vector equivalent of this command is glFogCoordfv.

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

Usage: glFogCoordfv coord

The parameter coord is a CoordF.

The length of coord should be 1.

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

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

Usage: glPointParameteri pname param

The parameter pname is a PointParameterNameARB.

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

Usage: glPointParameteriv pname params

The parameter pname is a PointParameterNameARB.

The length of params should be COMPSIZE(pname).

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

Usage: glSecondaryColor3b 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 glSecondaryColor3bv.

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

Usage: glSecondaryColor3bv v

The parameter v is a ColorB.

The length of v should be 3.

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

Usage: glSecondaryColor3d 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 glSecondaryColor3dv.

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

Usage: glSecondaryColor3dv v

The parameter v is a ColorD.

The length of v should be 3.

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

Usage: glSecondaryColor3f 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 glSecondaryColor3fv.

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

Usage: glSecondaryColor3fv v

The parameter v is a ColorF.

The length of v should be 3.

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

Usage: glSecondaryColor3i 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 glSecondaryColor3iv.

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

Usage: glSecondaryColor3iv v

The parameter v is a ColorI.

The length of v should be 3.

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

Usage: glSecondaryColor3s 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 glSecondaryColor3sv.

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

Usage: glSecondaryColor3sv v

The parameter v is a ColorS.

The length of v should be 3.

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

Usage: glSecondaryColor3ub 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 glSecondaryColor3ubv.

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

Usage: glSecondaryColor3ubv v

The parameter v is a ColorUB.

The length of v should be 3.

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

Usage: glSecondaryColor3ui 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 glSecondaryColor3uiv.

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

Usage: glSecondaryColor3uiv v

The parameter v is a ColorUI.

The length of v should be 3.

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

Usage: glSecondaryColor3us 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 glSecondaryColor3usv.

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

Usage: glSecondaryColor3usv v

The parameter v is a ColorUS.

The length of v should be 3.

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

Usage: glSecondaryColorPointer size type stride pointer

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

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

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

Usage: glWindowPos2d x y

The parameter x is a CoordD.

The parameter y is a CoordD.

The vector equivalent of this command is glWindowPos2dv.

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

Usage: glWindowPos2dv v

The parameter v is a CoordD.

The length of v should be 2.

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

Usage: glWindowPos2f x y

The parameter x is a CoordF.

The parameter y is a CoordF.

The vector equivalent of this command is glWindowPos2fv.

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

Usage: glWindowPos2fv v

The parameter v is a CoordF.

The length of v should be 2.

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

Usage: glWindowPos2i x y

The parameter x is a CoordI.

The parameter y is a CoordI.

The vector equivalent of this command is glWindowPos2iv.

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

Usage: glWindowPos2iv v

The parameter v is a CoordI.

The length of v should be 2.

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

Usage: glWindowPos2s x y

The parameter x is a CoordS.

The parameter y is a CoordS.

The vector equivalent of this command is glWindowPos2sv.

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

Usage: glWindowPos2sv v

The parameter v is a CoordS.

The length of v should be 2.

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

Usage: glWindowPos3d 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 glWindowPos3dv.

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

Usage: glWindowPos3dv v

The parameter v is a CoordD.

The length of v should be 3.

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

Usage: glWindowPos3f 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 glWindowPos3fv.

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

Usage: glWindowPos3fv v

The parameter v is a CoordF.

The length of v should be 3.

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

Usage: glWindowPos3i 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 glWindowPos3iv.

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

Usage: glWindowPos3iv v

The parameter v is a CoordI.

The length of v should be 3.

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

Usage: glWindowPos3s 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 glWindowPos3sv.

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

Usage: glWindowPos3sv v

The parameter v is a CoordS.

The length of v should be 3.

pattern GL_BLEND_DST_ALPHA :: forall a. (Num a, Eq a) => a Source #

pattern GL_BLEND_DST_RGB :: forall a. (Num a, Eq a) => a Source #

pattern GL_BLEND_SRC_ALPHA :: forall a. (Num a, Eq a) => a Source #

pattern GL_BLEND_SRC_RGB :: forall a. (Num a, Eq a) => a Source #

pattern GL_COLOR_SUM :: forall a. (Num a, Eq a) => a Source #

pattern GL_COMPARE_R_TO_TEXTURE :: forall a. (Num a, Eq a) => a Source #

pattern GL_CONSTANT_ALPHA :: forall a. (Num a, Eq a) => a Source #

pattern GL_CONSTANT_COLOR :: forall a. (Num a, Eq a) => a Source #

pattern GL_CURRENT_FOG_COORDINATE :: forall a. (Num a, Eq a) => a Source #

pattern GL_CURRENT_SECONDARY_COLOR :: forall a. (Num a, Eq a) => a Source #

pattern GL_DECR_WRAP :: forall a. (Num a, Eq a) => a Source #

pattern GL_DEPTH_COMPONENT16 :: forall a. (Num a, Eq a) => a Source #

pattern GL_DEPTH_COMPONENT24 :: forall a. (Num a, Eq a) => a Source #

pattern GL_DEPTH_COMPONENT32 :: forall a. (Num a, Eq a) => a Source #

pattern GL_DEPTH_TEXTURE_MODE :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE_ARRAY_POINTER :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE_ARRAY_TYPE :: forall a. (Num a, Eq a) => a Source #

pattern GL_FOG_COORDINATE_SOURCE :: forall a. (Num a, Eq a) => a Source #

pattern GL_FRAGMENT_DEPTH :: forall a. (Num a, Eq a) => a Source #

pattern GL_FUNC_ADD :: forall a. (Num a, Eq a) => a Source #

pattern GL_FUNC_REVERSE_SUBTRACT :: forall a. (Num a, Eq a) => a Source #

pattern GL_FUNC_SUBTRACT :: forall a. (Num a, Eq a) => a Source #

pattern GL_GENERATE_MIPMAP :: forall a. (Num a, Eq a) => a Source #

pattern GL_GENERATE_MIPMAP_HINT :: forall a. (Num a, Eq a) => a Source #

pattern GL_INCR_WRAP :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_TEXTURE_LOD_BIAS :: forall a. (Num a, Eq a) => a Source #

pattern GL_MIN :: forall a. (Num a, Eq a) => a Source #

pattern GL_MIRRORED_REPEAT :: forall a. (Num a, Eq a) => a Source #

pattern GL_ONE_MINUS_CONSTANT_ALPHA :: forall a. (Num a, Eq a) => a Source #

pattern GL_ONE_MINUS_CONSTANT_COLOR :: forall a. (Num a, Eq a) => a Source #

pattern GL_POINT_DISTANCE_ATTENUATION :: forall a. (Num a, Eq a) => a Source #

pattern GL_POINT_FADE_THRESHOLD_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern GL_POINT_SIZE_MAX :: forall a. (Num a, Eq a) => a Source #

pattern GL_POINT_SIZE_MIN :: forall a. (Num a, Eq a) => a Source #

pattern GL_SECONDARY_COLOR_ARRAY :: forall a. (Num a, Eq a) => a Source #

pattern GL_SECONDARY_COLOR_ARRAY_POINTER :: forall a. (Num a, Eq a) => a Source #

pattern GL_SECONDARY_COLOR_ARRAY_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern GL_SECONDARY_COLOR_ARRAY_STRIDE :: forall a. (Num a, Eq a) => a Source #

pattern GL_SECONDARY_COLOR_ARRAY_TYPE :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_COMPARE_FUNC :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_COMPARE_MODE :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_DEPTH_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_FILTER_CONTROL :: forall a. (Num a, Eq a) => a Source #

pattern GL_TEXTURE_LOD_BIAS :: forall a. (Num a, Eq a) => a Source #