gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.EXT.SecondaryColor

Synopsis

Extension Support

gl_EXT_secondary_color :: Bool Source #

Checks that the GL_EXT_secondary_color extension is available.

GL_EXT_secondary_color

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

Usage: glSecondaryColor3bEXT red green blue

The parameter red is a ColorB.

The parameter green is a ColorB.

The parameter blue is a ColorB.

This command is an alias for glSecondaryColor3b.

The vector equivalent of this command is glSecondaryColor3bvEXT.

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

Usage: glSecondaryColor3bvEXT v

The parameter v is a ColorB.

The length of v should be 3.

This command is an alias for glSecondaryColor3bv.

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

Usage: glSecondaryColor3dEXT red green blue

The parameter red is a ColorD.

The parameter green is a ColorD.

The parameter blue is a ColorD.

This command is an alias for glSecondaryColor3d.

The vector equivalent of this command is glSecondaryColor3dvEXT.

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

Usage: glSecondaryColor3dvEXT v

The parameter v is a ColorD.

The length of v should be 3.

This command is an alias for glSecondaryColor3dv.

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

Usage: glSecondaryColor3fEXT red green blue

The parameter red is a ColorF.

The parameter green is a ColorF.

The parameter blue is a ColorF.

This command is an alias for glSecondaryColor3f.

The vector equivalent of this command is glSecondaryColor3fvEXT.

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

Usage: glSecondaryColor3fvEXT v

The parameter v is a ColorF.

The length of v should be 3.

This command is an alias for glSecondaryColor3fv.

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

Usage: glSecondaryColor3iEXT red green blue

The parameter red is a ColorI.

The parameter green is a ColorI.

The parameter blue is a ColorI.

This command is an alias for glSecondaryColor3i.

The vector equivalent of this command is glSecondaryColor3ivEXT.

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

Usage: glSecondaryColor3ivEXT v

The parameter v is a ColorI.

The length of v should be 3.

This command is an alias for glSecondaryColor3iv.

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

Usage: glSecondaryColor3sEXT red green blue

The parameter red is a ColorS.

The parameter green is a ColorS.

The parameter blue is a ColorS.

This command is an alias for glSecondaryColor3s.

The vector equivalent of this command is glSecondaryColor3svEXT.

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

Usage: glSecondaryColor3svEXT v

The parameter v is a ColorS.

The length of v should be 3.

This command is an alias for glSecondaryColor3sv.

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

Usage: glSecondaryColor3ubEXT red green blue

The parameter red is a ColorUB.

The parameter green is a ColorUB.

The parameter blue is a ColorUB.

This command is an alias for glSecondaryColor3ub.

The vector equivalent of this command is glSecondaryColor3ubvEXT.

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

Usage: glSecondaryColor3ubvEXT v

The parameter v is a ColorUB.

The length of v should be 3.

This command is an alias for glSecondaryColor3ubv.

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

Usage: glSecondaryColor3uiEXT red green blue

The parameter red is a ColorUI.

The parameter green is a ColorUI.

The parameter blue is a ColorUI.

This command is an alias for glSecondaryColor3ui.

The vector equivalent of this command is glSecondaryColor3uivEXT.

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

Usage: glSecondaryColor3uivEXT v

The parameter v is a ColorUI.

The length of v should be 3.

This command is an alias for glSecondaryColor3uiv.

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

Usage: glSecondaryColor3usEXT red green blue

The parameter red is a ColorUS.

The parameter green is a ColorUS.

The parameter blue is a ColorUS.

This command is an alias for glSecondaryColor3us.

The vector equivalent of this command is glSecondaryColor3usvEXT.

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

Usage: glSecondaryColor3usvEXT v

The parameter v is a ColorUS.

The length of v should be 3.

This command is an alias for glSecondaryColor3usv.

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

Usage: glSecondaryColorPointerEXT 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).

This command is an alias for glSecondaryColorPointer.

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

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