OpenGLRaw-3.2.0.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.ARB.VertexProgram

Contents

Description

 

Synopsis

Extension Support

glGetARBVertexProgram :: MonadIO m => m Bool Source

Is the ARB_vertex_program extension supported?

gl_ARB_vertex_program :: Bool Source

Is the ARB_vertex_program extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBVertexProgram 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 () 

glDisableVertexAttribArrayARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

This command is an alias for glDisableVertexAttribArray.

glEnableVertexAttribArrayARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> m () 

This command is an alias for glEnableVertexAttribArray.

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 () 

glGetVertexAttribPointervARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPointerPropertyARB.

-> Ptr (Ptr a)

pointer pointing to 1 element of type Ptr a.

-> m () 

This command is an alias for glGetVertexAttribPointerv.

glGetVertexAttribdvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLdouble

params pointing to 4 elements of type GLdouble.

-> m () 

This command is an alias for glGetVertexAttribdv.

glGetVertexAttribfvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLfloat

params pointing to 4 elements of type GLfloat.

-> m () 

This command is an alias for glGetVertexAttribfv.

glGetVertexAttribivARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLenum

pname of type VertexAttribPropertyARB.

-> Ptr GLint

params pointing to 4 elements of type GLint.

-> m () 

This command is an alias for glGetVertexAttribiv.

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 () 

glVertexAttrib1dARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1dvARB. This command is an alias for glVertexAttrib1d.

glVertexAttrib1dvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 1 element of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib1dv.

glVertexAttrib1fARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1fvARB. This command is an alias for glVertexAttrib1f.

glVertexAttrib1fvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 1 element of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib1fv.

glVertexAttrib1sARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> m () 

The vector equivalent of this command is glVertexAttrib1svARB. This command is an alias for glVertexAttrib1s.

glVertexAttrib1svARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 1 element of type GLshort.

-> m () 

This command is an alias for glVertexAttrib1sv.

glVertexAttrib2dARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2dvARB. This command is an alias for glVertexAttrib2d.

glVertexAttrib2dvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 2 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib2dv.

glVertexAttrib2fARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2fvARB. This command is an alias for glVertexAttrib2f.

glVertexAttrib2fvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 2 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib2fv.

glVertexAttrib2sARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> m () 

The vector equivalent of this command is glVertexAttrib2svARB. This command is an alias for glVertexAttrib2s.

glVertexAttrib2svARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 2 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib2sv.

glVertexAttrib3dARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3dvARB. This command is an alias for glVertexAttrib3d.

glVertexAttrib3dvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 3 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib3dv.

glVertexAttrib3fARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3fvARB. This command is an alias for glVertexAttrib3f.

glVertexAttrib3fvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 3 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib3fv.

glVertexAttrib3sARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> m () 

The vector equivalent of this command is glVertexAttrib3svARB. This command is an alias for glVertexAttrib3s.

glVertexAttrib3svARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 3 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib3sv.

glVertexAttrib4NbvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> m () 

This command is an alias for glVertexAttrib4Nbv.

glVertexAttrib4NivARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

This command is an alias for glVertexAttrib4Niv.

glVertexAttrib4NsvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib4Nsv.

glVertexAttrib4NubARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLubyte

x.

-> GLubyte

y.

-> GLubyte

z.

-> GLubyte

w.

-> m () 

This command is an alias for glVertexAttrib4Nub.

glVertexAttrib4NubvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> m () 

This command is an alias for glVertexAttrib4Nubv.

glVertexAttrib4NuivARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> m () 

This command is an alias for glVertexAttrib4Nuiv.

glVertexAttrib4NusvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> m () 

This command is an alias for glVertexAttrib4Nusv.

glVertexAttrib4bvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLbyte

v pointing to 4 elements of type GLbyte.

-> m () 

This command is an alias for glVertexAttrib4bv.

glVertexAttrib4dARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLdouble

x.

-> GLdouble

y.

-> GLdouble

z.

-> GLdouble

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4dvARB. This command is an alias for glVertexAttrib4d.

glVertexAttrib4dvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLdouble

v pointing to 4 elements of type GLdouble.

-> m () 

This command is an alias for glVertexAttrib4dv.

glVertexAttrib4fARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLfloat

x.

-> GLfloat

y.

-> GLfloat

z.

-> GLfloat

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4fvARB. This command is an alias for glVertexAttrib4f.

glVertexAttrib4fvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLfloat

v pointing to 4 elements of type GLfloat.

-> m () 

This command is an alias for glVertexAttrib4fv.

glVertexAttrib4ivARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLint

v pointing to 4 elements of type GLint.

-> m () 

This command is an alias for glVertexAttrib4iv.

glVertexAttrib4sARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLshort

x.

-> GLshort

y.

-> GLshort

z.

-> GLshort

w.

-> m () 

The vector equivalent of this command is glVertexAttrib4svARB. This command is an alias for glVertexAttrib4s.

glVertexAttrib4svARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLshort

v pointing to 4 elements of type GLshort.

-> m () 

This command is an alias for glVertexAttrib4sv.

glVertexAttrib4ubvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLubyte

v pointing to 4 elements of type GLubyte.

-> m () 

This command is an alias for glVertexAttrib4ubv.

glVertexAttrib4uivARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLuint

v pointing to 4 elements of type GLuint.

-> m () 

This command is an alias for glVertexAttrib4uiv.

glVertexAttrib4usvARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> Ptr GLushort

v pointing to 4 elements of type GLushort.

-> m () 

This command is an alias for glVertexAttrib4usv.

glVertexAttribPointerARB Source

Arguments

:: MonadIO m 
=> GLuint

index.

-> GLint

size.

-> GLenum

type of type VertexAttribPointerType.

-> GLboolean

normalized of type Boolean.

-> GLsizei

stride.

-> Ptr a

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

-> m () 

This command is an alias for glVertexAttribPointer.