gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.OES.GetProgramBinary

Contents

Synopsis

Extension Support

gl_OES_get_program_binary :: Bool Source #

Checks that the GL_OES_get_program_binary extension is available.

GL_OES_get_program_binary

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

Usage: glGetProgramBinaryOES 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.

This command is an alias for glGetProgramBinary.

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

Usage: glProgramBinaryOES program binaryFormat binary length

The length of binary should be length.

This command is an alias for glProgramBinary.

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

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

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