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

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

Graphics.GL.SGI.ColorTable

Contents

Description

 

Synopsis

Extension Support

glGetSGIColorTable :: MonadIO m => m Bool Source #

Is the SGI_color_table extension supported?

gl_SGI_color_table :: Bool Source #

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

Enums

Functions

glColorTableParameterfvSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

pname of type ColorTableParameterPNameSGI.

-> Ptr GLfloat

params pointing to COMPSIZE(pname) elements of type CheckedFloat32.

-> m () 

This command is an alias for glColorTableParameterfv.

glColorTableParameterivSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

pname of type ColorTableParameterPNameSGI.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type CheckedInt32.

-> m () 

This command is an alias for glColorTableParameteriv.

glColorTableSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

internalformat of type InternalFormat.

-> GLsizei

width.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

table pointing to COMPSIZE(format,type,width) elements of type a.

-> m () 

This command is an alias for glColorTable.

glCopyColorTableSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

internalformat of type InternalFormat.

-> GLint

x of type WinCoord.

-> GLint

y of type WinCoord.

-> GLsizei

width.

-> m () 

This command is an alias for glCopyColorTable.

glGetColorTableParameterfvSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

pname of type GetColorTableParameterPNameSGI.

-> Ptr GLfloat

params pointing to COMPSIZE(pname) elements of type GLfloat.

-> m () 

glGetColorTableParameterivSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

pname of type GetColorTableParameterPNameSGI.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

glGetColorTableSGI Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTargetSGI.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

table pointing to COMPSIZE(target,format,type) elements of type a.

-> m ()