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

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

Graphics.GL.EXT.PalettedTexture

Contents

Description

 

Synopsis

Extension Support

glGetEXTPalettedTexture :: MonadIO m => m Bool Source #

Is the EXT_paletted_texture extension supported?

gl_EXT_paletted_texture :: Bool Source #

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

Enums

Functions

glColorTableEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTarget.

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

glGetColorTableEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTarget.

-> GLenum

format of type PixelFormat.

-> GLenum

type of type PixelType.

-> Ptr a

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

-> m () 

This command is an alias for glGetColorTable.

glGetColorTableParameterfvEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTarget.

-> GLenum

pname of type GetColorTableParameterPName.

-> Ptr GLfloat

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

-> m () 

This command is an alias for glGetColorTableParameterfv.

glGetColorTableParameterivEXT Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ColorTableTarget.

-> GLenum

pname of type GetColorTableParameterPName.

-> Ptr GLint

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

-> m () 

This command is an alias for glGetColorTableParameteriv.