OpenGLRaw-3.2.7.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2017
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.EXT.SecondaryColor

Contents

Description

 

Synopsis

Extension Support

glGetEXTSecondaryColor :: MonadIO m => m Bool Source #

Is the EXT_secondary_color extension supported?

gl_EXT_secondary_color :: Bool Source #

Is the EXT_secondary_color extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetEXTSecondaryColor in those cases instead.

Enums

Functions

glSecondaryColor3bEXT Source #

Arguments

:: MonadIO m 
=> GLbyte

red of type ColorB.

-> GLbyte

green of type ColorB.

-> GLbyte

blue of type ColorB.

-> m () 

The vector equivalent of this command is glSecondaryColor3bvEXT. This command is an alias for glSecondaryColor3b.

glSecondaryColor3bvEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLbyte

v pointing to 3 elements of type ColorB.

-> m () 

This command is an alias for glSecondaryColor3bv.

glSecondaryColor3dEXT Source #

Arguments

:: MonadIO m 
=> GLdouble

red of type ColorD.

-> GLdouble

green of type ColorD.

-> GLdouble

blue of type ColorD.

-> m () 

The vector equivalent of this command is glSecondaryColor3dvEXT. This command is an alias for glSecondaryColor3d.

glSecondaryColor3dvEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLdouble

v pointing to 3 elements of type ColorD.

-> m () 

This command is an alias for glSecondaryColor3dv.

glSecondaryColor3fEXT Source #

Arguments

:: MonadIO m 
=> GLfloat

red of type ColorF.

-> GLfloat

green of type ColorF.

-> GLfloat

blue of type ColorF.

-> m () 

The vector equivalent of this command is glSecondaryColor3fvEXT. This command is an alias for glSecondaryColor3f.

glSecondaryColor3fvEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLfloat

v pointing to 3 elements of type ColorF.

-> m () 

This command is an alias for glSecondaryColor3fv.

glSecondaryColor3iEXT Source #

Arguments

:: MonadIO m 
=> GLint

red of type ColorI.

-> GLint

green of type ColorI.

-> GLint

blue of type ColorI.

-> m () 

The vector equivalent of this command is glSecondaryColor3ivEXT. This command is an alias for glSecondaryColor3i.

glSecondaryColor3ivEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLint

v pointing to 3 elements of type ColorI.

-> m () 

This command is an alias for glSecondaryColor3iv.

glSecondaryColor3sEXT Source #

Arguments

:: MonadIO m 
=> GLshort

red of type ColorS.

-> GLshort

green of type ColorS.

-> GLshort

blue of type ColorS.

-> m () 

The vector equivalent of this command is glSecondaryColor3svEXT. This command is an alias for glSecondaryColor3s.

glSecondaryColor3svEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLshort

v pointing to 3 elements of type ColorS.

-> m () 

This command is an alias for glSecondaryColor3sv.

glSecondaryColor3ubEXT Source #

Arguments

:: MonadIO m 
=> GLubyte

red of type ColorUB.

-> GLubyte

green of type ColorUB.

-> GLubyte

blue of type ColorUB.

-> m () 

The vector equivalent of this command is glSecondaryColor3ubvEXT. This command is an alias for glSecondaryColor3ub.

glSecondaryColor3ubvEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLubyte

v pointing to 3 elements of type ColorUB.

-> m () 

This command is an alias for glSecondaryColor3ubv.

glSecondaryColor3uiEXT Source #

Arguments

:: MonadIO m 
=> GLuint

red of type ColorUI.

-> GLuint

green of type ColorUI.

-> GLuint

blue of type ColorUI.

-> m () 

The vector equivalent of this command is glSecondaryColor3uivEXT. This command is an alias for glSecondaryColor3ui.

glSecondaryColor3uivEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

v pointing to 3 elements of type ColorUI.

-> m () 

This command is an alias for glSecondaryColor3uiv.

glSecondaryColor3usEXT Source #

Arguments

:: MonadIO m 
=> GLushort

red of type ColorUS.

-> GLushort

green of type ColorUS.

-> GLushort

blue of type ColorUS.

-> m () 

The vector equivalent of this command is glSecondaryColor3usvEXT. This command is an alias for glSecondaryColor3us.

glSecondaryColor3usvEXT Source #

Arguments

:: MonadIO m 
=> Ptr GLushort

v pointing to 3 elements of type ColorUS.

-> m () 

This command is an alias for glSecondaryColor3usv.

glSecondaryColorPointerEXT Source #

Arguments

:: MonadIO m 
=> GLint

size.

-> GLenum

type of type ColorPointerType.

-> GLsizei

stride.

-> Ptr a

pointer pointing to COMPSIZE(size,type,stride) elements of type a.

-> m () 

This command is an alias for glSecondaryColorPointer.