gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.FragmentProgram

Synopsis

Extension Support

gl_ARB_fragment_program :: Bool Source #

Checks that the GL_ARB_fragment_program extension is available.

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

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.

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

pattern GL_FRAGMENT_PROGRAM_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_TEXTURE_COORDS_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 #