gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.SGIX.FragmentLighting

Contents

Synopsis

Extension Support

gl_SGIX_fragment_lighting :: Bool Source #

Checks that the GL_SGIX_fragment_lighting extension is available.

GL_SGIX_fragment_lighting

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

Usage: glFragmentColorMaterialSGIX face mode

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

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

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

Usage: glFragmentLightModelfvSGIX pname params

The parameter pname is a FragmentLightModelParameterSGIX, one of: 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.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glFragmentLightModelivSGIX pname params

The parameter pname is a FragmentLightModelParameterSGIX, one of: 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.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

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

Usage: glFragmentLightfSGIX light pname param

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The parameter param is a CheckedFloat32.

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

Usage: glFragmentLightfvSGIX light pname params

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The parameter params is a CheckedFloat32.

The length of params should be COMPSIZE(pname).

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

Usage: glFragmentLightiSGIX light pname param

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The parameter param is a CheckedInt32.

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

Usage: glFragmentLightivSGIX light pname params

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The parameter params is a CheckedInt32.

The length of params should be COMPSIZE(pname).

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

Usage: glFragmentMaterialfSGIX 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.

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

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

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

Usage: glFragmentMaterialiSGIX 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.

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

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

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

Usage: glGetFragmentLightfvSGIX light pname params

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The length of params should be COMPSIZE(pname).

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

Usage: glGetFragmentLightivSGIX light pname params

The parameter light is a FragmentLightNameSGIX.

The parameter pname is a FragmentLightParameterSGIX.

The length of params should be COMPSIZE(pname).

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

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

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

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

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

Usage: glLightEnviSGIX pname param

The parameter pname is a LightEnvParameterSGIX, one of: GL_LIGHT_ENV_MODE_SGIX.

The parameter param is a CheckedInt32.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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