gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.ARB.FragmentProgram

Contents

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 :: forall a. (Num a, Eq a) => a Source #

pattern GL_CURRENT_MATRIX_STACK_DEPTH_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_FRAGMENT_PROGRAM_ARB :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pattern GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

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

pattern GL_MAX_PROGRAM_ENV_PARAMETERS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB :: forall a. (Num a, Eq a) => a Source #

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

pattern GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_PARAMETERS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_TEMPORARIES_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_TEXTURE_COORDS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_MAX_TEXTURE_IMAGE_UNITS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_ALU_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

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

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

pattern GL_PROGRAM_ERROR_POSITION_ARB :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

pattern GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_ATTRIBS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_PARAMETERS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_TEMPORARIES_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

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

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

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

pattern GL_PROGRAM_TEX_INDIRECTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_TEX_INSTRUCTIONS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB :: forall a. (Num a, Eq a) => a Source #

pattern GL_TRANSPOSE_CURRENT_MATRIX_ARB :: forall a. (Num a, Eq a) => a Source #