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

Contents

Description

 

Synopsis

Extension Support

glGetARBFragmentProgram :: MonadIO m => m Bool Source #

Is the ARB_fragment_program extension supported?

gl_ARB_fragment_program :: Bool Source #

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

Enums

Functions

glBindProgramARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

program.

-> m () 

glDeleteProgramsARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> m () 

glGenProgramsARB Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

programs pointing to n elements of type GLuint.

-> m () 

glGetProgramEnvParameterdvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glGetProgramEnvParameterfvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glGetProgramLocalParameterdvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glGetProgramLocalParameterfvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glGetProgramStringARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLenum

pname of type ProgramStringPropertyARB.

-> Ptr a

string pointing to COMPSIZE(target,pname) elements of type a.

-> m () 

glGetProgramivARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLenum

pname of type ProgramPropertyARB.

-> Ptr GLint

params pointing to 1 element of type GLint.

-> m () 

glIsProgramARB Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> m GLboolean

of type Boolean.

glProgramEnvParameter4dARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glProgramEnvParameter4dvARB.

glProgramEnvParameter4dvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glProgramEnvParameter4fARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glProgramEnvParameter4fvARB.

glProgramEnvParameter4fvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glProgramLocalParameter4dARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glProgramLocalParameter4dvARB.

glProgramLocalParameter4dvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

glProgramLocalParameter4fARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glProgramLocalParameter4fvARB.

glProgramLocalParameter4fvARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLuint

index.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

glProgramStringARB Source #

Arguments

:: MonadIO m 
=> GLenum

target of type ProgramTargetARB.

-> GLenum

format of type ProgramFormatARB.

-> GLsizei

len.

-> Ptr a

string pointing to len elements of type a.

-> m ()