gl-0.4: Complete OpenGL raw bindings

Safe HaskellNone




Extension Support

gl_ARB_get_program_binary :: Bool Source

Checks that the GL_ARB_get_program_binary extension is available.


glGetProgramBinary :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLenum -> Ptr () -> m () Source

Usage: glGetProgramBinary program bufSize length binaryFormat binary

The length of length should be 1.

The length of binaryFormat should be 1.

The length of binary should be bufSize.

Manual page:

glProgramBinary :: MonadIO m => GLuint -> GLenum -> Ptr () -> GLsizei -> m () Source

Usage: glProgramBinary program binaryFormat binary length

The length of binary should be length.

Manual page:

glProgramParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m () Source

Usage: glProgramParameteri program pname value

The parameter pname is a ProgramParameterPName.

pattern GL_PROGRAM_BINARY_FORMATS :: (Num a, Eq a) => a Source

pattern GL_PROGRAM_BINARY_LENGTH :: (Num a, Eq a) => a Source