OpenGLRaw-3.3.2.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.ARB.GetProgramBinary

Contents

Description

 
Synopsis

Extension Support

gl_ARB_get_program_binary :: Bool Source #

Is the ARB_get_program_binary extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetARBGetProgramBinary in those cases instead.

Enums

Functions

glGetProgramBinary Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLenum

binaryFormat pointing to 1 element of type GLenum.

-> Ptr a

binary pointing to bufSize elements of type a.

-> m () 

Manual page for OpenGL 4.x.

glProgramBinary Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

binaryFormat.

-> Ptr a

binary pointing to length elements of type a.

-> GLsizei

length.

-> m () 

Manual page for OpenGL 4.x.

glProgramParameteri Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

pname of type ProgramParameterPName.

-> GLint

value.

-> m () 

Manual page for OpenGL 4.x.