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

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

Graphics.GL.ARB.VertexShader

Contents

Description

 
Synopsis

Extension Support

glGetARBVertexShader :: MonadIO m => m Bool Source #

Is the ARB_vertex_shader extension supported?

gl_ARB_vertex_shader :: Bool Source #

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

Enums

pattern GL_FLOAT :: GLenum Source #

Functions

glBindAttribLocationARB Source #

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> GLuint

index.

-> Ptr GLcharARB

name.

-> m () 

This command is an alias for glBindAttribLocation.

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.

glGetActiveAttribARB Source #

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> GLuint

index.

-> GLsizei

maxLength.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

size pointing to 1 element of type GLint.

-> Ptr GLenum

type pointing to 1 element of type AttributeType.

-> Ptr GLcharARB

name pointing to maxLength elements of type GLcharARB.

-> m () 

This command is an alias for glGetActiveAttrib.

glGetAttribLocationARB Source #

Arguments

:: MonadIO m 
=> GLhandleARB

programObj of type handleARB.

-> Ptr GLcharARB

name.

-> m GLint 

This command is an alias for glGetAttribLocation.

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.

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.