Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- gl_ARB_get_program_binary :: Bool
- glGetProgramBinary :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLenum -> Ptr () -> m ()
- glProgramBinary :: MonadIO m => GLuint -> GLenum -> Ptr () -> GLsizei -> m ()
- glProgramParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m ()
- pattern GL_NUM_PROGRAM_BINARY_FORMATS :: (Eq a, Num a) => a
- pattern GL_PROGRAM_BINARY_FORMATS :: (Eq a, Num a) => a
- pattern GL_PROGRAM_BINARY_LENGTH :: (Eq a, Num a) => a
- pattern GL_PROGRAM_BINARY_RETRIEVABLE_HINT :: (Eq a, Num a) => a
Extension Support
gl_ARB_get_program_binary :: Bool Source #
Checks that the GL_ARB_get_program_binary extension is available.
GL_ARB_get_program_binary
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: https://www.opengl.org/sdk/docs/man/html/glGetProgramBinary.xhtml
glProgramBinary :: MonadIO m => GLuint -> GLenum -> Ptr () -> GLsizei -> m () Source #
Usage: glProgramBinary
program binaryFormat binary length
The length of binary
should be length
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glProgramBinary.xhtml
glProgramParameteri :: MonadIO m => GLuint -> GLenum -> GLint -> m () Source #
Usage: glProgramParameteri
program pname value
The parameter pname
is a ProgramParameterPName
.
pattern GL_NUM_PROGRAM_BINARY_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_PROGRAM_BINARY_FORMATS :: (Eq a, Num a) => a Source #
pattern GL_PROGRAM_BINARY_LENGTH :: (Eq a, Num a) => a Source #
pattern GL_PROGRAM_BINARY_RETRIEVABLE_HINT :: (Eq a, Num a) => a Source #