gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.VertexProgram

Synopsis

Extension Support

gl_ARB_vertex_program :: Bool Source #

Checks that the GL_ARB_vertex_program extension is available.

GL_ARB_vertex_program

glBindProgramARB :: MonadIO m => GLenum -> GLuint -> m () Source #

Usage: glBindProgramARB target program

The parameter target is a ProgramTargetARB.

glDeleteProgramsARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glDeleteProgramsARB n programs

The length of programs should be n.

glGenProgramsARB :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glGenProgramsARB n programs

The length of programs should be n.

glGetProgramEnvParameterdvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLdouble -> m () Source #

Usage: glGetProgramEnvParameterdvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glGetProgramEnvParameterfvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m () Source #

Usage: glGetProgramEnvParameterfvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glGetProgramLocalParameterdvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLdouble -> m () Source #

Usage: glGetProgramLocalParameterdvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glGetProgramLocalParameterfvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m () Source #

Usage: glGetProgramLocalParameterfvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glGetProgramStringARB :: MonadIO m => GLenum -> GLenum -> Ptr () -> m () Source #

Usage: glGetProgramStringARB target pname string

The parameter target is a ProgramTargetARB.

The parameter pname is a ProgramStringPropertyARB.

The length of string should be COMPSIZE(target,pname).

glGetProgramivARB :: MonadIO m => GLenum -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetProgramivARB target pname params

The parameter target is a ProgramTargetARB.

The parameter pname is a ProgramPropertyARB.

The length of params should be 1.

glGetVertexAttribPointervARB :: MonadIO m => GLuint -> GLenum -> Ptr (Ptr ()) -> m () Source #

Usage: glGetVertexAttribPointervARB index pname pointer

The parameter pname is a VertexAttribPointerPropertyARB.

The length of pointer should be 1.

This command is an alias for glGetVertexAttribPointerv.

glGetVertexAttribdvARB :: MonadIO m => GLuint -> GLenum -> Ptr GLdouble -> m () Source #

Usage: glGetVertexAttribdvARB index pname params

The parameter pname is a VertexAttribPropertyARB.

The length of params should be 4.

This command is an alias for glGetVertexAttribdv.

glGetVertexAttribfvARB :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m () Source #

Usage: glGetVertexAttribfvARB index pname params

The parameter pname is a VertexAttribPropertyARB.

The length of params should be 4.

This command is an alias for glGetVertexAttribfv.

glGetVertexAttribivARB :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m () Source #

Usage: glGetVertexAttribivARB index pname params

The parameter pname is a VertexAttribPropertyARB.

The length of params should be 4.

This command is an alias for glGetVertexAttribiv.

glProgramEnvParameter4dARB :: MonadIO m => GLenum -> GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glProgramEnvParameter4dARB target index x y z w

The parameter target is a ProgramTargetARB.

The vector equivalent of this command is glProgramEnvParameter4dvARB.

glProgramEnvParameter4dvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLdouble -> m () Source #

Usage: glProgramEnvParameter4dvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glProgramEnvParameter4fARB :: MonadIO m => GLenum -> GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glProgramEnvParameter4fARB target index x y z w

The parameter target is a ProgramTargetARB.

The vector equivalent of this command is glProgramEnvParameter4fvARB.

glProgramEnvParameter4fvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m () Source #

Usage: glProgramEnvParameter4fvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glProgramLocalParameter4dARB :: MonadIO m => GLenum -> GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glProgramLocalParameter4dARB target index x y z w

The parameter target is a ProgramTargetARB.

The vector equivalent of this command is glProgramLocalParameter4dvARB.

glProgramLocalParameter4dvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLdouble -> m () Source #

Usage: glProgramLocalParameter4dvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glProgramLocalParameter4fARB :: MonadIO m => GLenum -> GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glProgramLocalParameter4fARB target index x y z w

The parameter target is a ProgramTargetARB.

The vector equivalent of this command is glProgramLocalParameter4fvARB.

glProgramLocalParameter4fvARB :: MonadIO m => GLenum -> GLuint -> Ptr GLfloat -> m () Source #

Usage: glProgramLocalParameter4fvARB target index params

The parameter target is a ProgramTargetARB.

The length of params should be 4.

glProgramStringARB :: MonadIO m => GLenum -> GLenum -> GLsizei -> Ptr () -> m () Source #

Usage: glProgramStringARB target format len string

The parameter target is a ProgramTargetARB.

The parameter format is a ProgramFormatARB.

The length of string should be len.

glVertexAttrib1dARB :: MonadIO m => GLuint -> GLdouble -> m () Source #

Usage: glVertexAttrib1dARB index x

This command is an alias for glVertexAttrib1d.

The vector equivalent of this command is glVertexAttrib1dvARB.

glVertexAttrib1dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttrib1dvARB index v

The length of v should be 1.

This command is an alias for glVertexAttrib1dv.

glVertexAttrib1fARB :: MonadIO m => GLuint -> GLfloat -> m () Source #

Usage: glVertexAttrib1fARB index x

This command is an alias for glVertexAttrib1f.

The vector equivalent of this command is glVertexAttrib1fvARB.

glVertexAttrib1fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #

Usage: glVertexAttrib1fvARB index v

The length of v should be 1.

This command is an alias for glVertexAttrib1fv.

glVertexAttrib1sARB :: MonadIO m => GLuint -> GLshort -> m () Source #

Usage: glVertexAttrib1sARB index x

This command is an alias for glVertexAttrib1s.

The vector equivalent of this command is glVertexAttrib1svARB.

glVertexAttrib1svARB :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #

Usage: glVertexAttrib1svARB index v

The length of v should be 1.

This command is an alias for glVertexAttrib1sv.

glVertexAttrib2dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> m () Source #

Usage: glVertexAttrib2dARB index x y

This command is an alias for glVertexAttrib2d.

The vector equivalent of this command is glVertexAttrib2dvARB.

glVertexAttrib2dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttrib2dvARB index v

The length of v should be 2.

This command is an alias for glVertexAttrib2dv.

glVertexAttrib2fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m () Source #

Usage: glVertexAttrib2fARB index x y

This command is an alias for glVertexAttrib2f.

The vector equivalent of this command is glVertexAttrib2fvARB.

glVertexAttrib2fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #

Usage: glVertexAttrib2fvARB index v

The length of v should be 2.

This command is an alias for glVertexAttrib2fv.

glVertexAttrib2sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> m () Source #

Usage: glVertexAttrib2sARB index x y

This command is an alias for glVertexAttrib2s.

The vector equivalent of this command is glVertexAttrib2svARB.

glVertexAttrib2svARB :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #

Usage: glVertexAttrib2svARB index v

The length of v should be 2.

This command is an alias for glVertexAttrib2sv.

glVertexAttrib3dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glVertexAttrib3dARB index x y z

This command is an alias for glVertexAttrib3d.

The vector equivalent of this command is glVertexAttrib3dvARB.

glVertexAttrib3dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttrib3dvARB index v

The length of v should be 3.

This command is an alias for glVertexAttrib3dv.

glVertexAttrib3fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glVertexAttrib3fARB index x y z

This command is an alias for glVertexAttrib3f.

The vector equivalent of this command is glVertexAttrib3fvARB.

glVertexAttrib3fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #

Usage: glVertexAttrib3fvARB index v

The length of v should be 3.

This command is an alias for glVertexAttrib3fv.

glVertexAttrib3sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glVertexAttrib3sARB index x y z

This command is an alias for glVertexAttrib3s.

The vector equivalent of this command is glVertexAttrib3svARB.

glVertexAttrib3svARB :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #

Usage: glVertexAttrib3svARB index v

The length of v should be 3.

This command is an alias for glVertexAttrib3sv.

glVertexAttrib4NbvARB :: MonadIO m => GLuint -> Ptr GLbyte -> m () Source #

Usage: glVertexAttrib4NbvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Nbv.

glVertexAttrib4NivARB :: MonadIO m => GLuint -> Ptr GLint -> m () Source #

Usage: glVertexAttrib4NivARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Niv.

glVertexAttrib4NsvARB :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #

Usage: glVertexAttrib4NsvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Nsv.

glVertexAttrib4NubARB :: MonadIO m => GLuint -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> m () Source #

Usage: glVertexAttrib4NubARB index x y z w

This command is an alias for glVertexAttrib4Nub.

glVertexAttrib4NubvARB :: MonadIO m => GLuint -> Ptr GLubyte -> m () Source #

Usage: glVertexAttrib4NubvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Nubv.

glVertexAttrib4NuivARB :: MonadIO m => GLuint -> Ptr GLuint -> m () Source #

Usage: glVertexAttrib4NuivARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Nuiv.

glVertexAttrib4NusvARB :: MonadIO m => GLuint -> Ptr GLushort -> m () Source #

Usage: glVertexAttrib4NusvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4Nusv.

glVertexAttrib4bvARB :: MonadIO m => GLuint -> Ptr GLbyte -> m () Source #

Usage: glVertexAttrib4bvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4bv.

glVertexAttrib4dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m () Source #

Usage: glVertexAttrib4dARB index x y z w

This command is an alias for glVertexAttrib4d.

The vector equivalent of this command is glVertexAttrib4dvARB.

glVertexAttrib4dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m () Source #

Usage: glVertexAttrib4dvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4dv.

glVertexAttrib4fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m () Source #

Usage: glVertexAttrib4fARB index x y z w

This command is an alias for glVertexAttrib4f.

The vector equivalent of this command is glVertexAttrib4fvARB.

glVertexAttrib4fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m () Source #

Usage: glVertexAttrib4fvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4fv.

glVertexAttrib4ivARB :: MonadIO m => GLuint -> Ptr GLint -> m () Source #

Usage: glVertexAttrib4ivARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4iv.

glVertexAttrib4sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> GLshort -> m () Source #

Usage: glVertexAttrib4sARB index x y z w

This command is an alias for glVertexAttrib4s.

The vector equivalent of this command is glVertexAttrib4svARB.

glVertexAttrib4svARB :: MonadIO m => GLuint -> Ptr GLshort -> m () Source #

Usage: glVertexAttrib4svARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4sv.

glVertexAttrib4ubvARB :: MonadIO m => GLuint -> Ptr GLubyte -> m () Source #

Usage: glVertexAttrib4ubvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4ubv.

glVertexAttrib4uivARB :: MonadIO m => GLuint -> Ptr GLuint -> m () Source #

Usage: glVertexAttrib4uivARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4uiv.

glVertexAttrib4usvARB :: MonadIO m => GLuint -> Ptr GLushort -> m () Source #

Usage: glVertexAttrib4usvARB index v

The length of v should be 4.

This command is an alias for glVertexAttrib4usv.

glVertexAttribPointerARB :: MonadIO m => GLuint -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr () -> m () Source #

Usage: glVertexAttribPointerARB index size type normalized stride pointer

The parameter type is a VertexAttribPointerType.

The parameter normalized is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of pointer should be COMPSIZE(size,type,stride).

This command is an alias for glVertexAttribPointer.

pattern GL_COLOR_SUM_ARB :: (Eq a, Num a) => a Source #

pattern GL_CURRENT_MATRIX_ARB :: (Eq a, Num a) => a Source #

pattern GL_CURRENT_VERTEX_ATTRIB_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX0_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX10_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX11_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX12_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX13_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX14_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX15_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX16_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX17_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX18_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX19_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX1_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX20_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX21_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX22_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX23_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX24_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX25_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX26_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX27_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX28_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX29_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX2_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX30_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX31_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX3_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX4_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX5_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX6_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX7_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX8_ARB :: (Eq a, Num a) => a Source #

pattern GL_MATRIX9_ARB :: (Eq a, Num a) => a Source #

pattern GL_MAX_PROGRAM_ATTRIBS_ARB :: (Eq a, Num a) => a Source #

pattern GL_MAX_PROGRAM_MATRICES_ARB :: (Eq a, Num a) => a Source #

pattern GL_MAX_VERTEX_ATTRIBS_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_ATTRIBS_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_BINDING_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_ERROR_STRING_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_FORMAT_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_FORMAT_ASCII_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_INSTRUCTIONS_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_LENGTH_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_PARAMETERS_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_STRING_ARB :: (Eq a, Num a) => a Source #

pattern GL_PROGRAM_TEMPORARIES_ARB :: (Eq a, Num a) => a Source #

pattern GL_VERTEX_PROGRAM_ARB :: (Eq a, Num a) => a Source #