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

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

Graphics.GL.ARB.SeparateShaderObjects

Contents

Description

 

Synopsis

Extension Support

gl_ARB_separate_shader_objects :: Bool Source #

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

Enums

Functions

glActiveShaderProgram Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLuint

program.

-> m () 

Manual page for OpenGL 4.x.

glBindProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m () 

Manual page for OpenGL 4.x.

glCreateShaderProgramv Source #

Arguments

:: MonadIO m 
=> GLenum

type of type ShaderType.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

strings pointing to count elements of type Ptr GLchar.

-> m GLuint 

Manual page for OpenGL 4.x.

glDeleteProgramPipelines Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glGenProgramPipelines Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

pipelines pointing to n elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramPipelineInfoLog Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

infoLog pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramPipelineiv Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLenum

pname of type PipelineParameterName.

-> Ptr GLint

params pointing to COMPSIZE(pname) elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glIsProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m GLboolean

of type Boolean.

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.

glProgramUniform1d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> m () 

glProgramUniform1dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count elements of type GLdouble.

-> m () 

glProgramUniform1f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform1uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> m () 

glProgramUniform2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*2 elements of type GLdouble.

-> m () 

glProgramUniform2f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform2uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*2 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> GLdouble

v2.

-> m () 

glProgramUniform3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*3 elements of type GLdouble.

-> m () 

glProgramUniform3f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform3uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*3 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4d Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLdouble

v0.

-> GLdouble

v1.

-> GLdouble

v2.

-> GLdouble

v3.

-> m () 

glProgramUniform4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

glProgramUniform4f Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4i Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4iv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4ui Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLuint

v0.

-> GLuint

v1.

-> GLuint

v2.

-> GLuint

v3.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniform4uiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> Ptr GLuint

value pointing to count*4 elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*4 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2x3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2x3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix2x4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

glProgramUniformMatrix2x4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*9 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3x2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*6 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3x2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*6 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix3x4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

glProgramUniformMatrix3x4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*16 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4x2dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*8 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4x2fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*8 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glProgramUniformMatrix4x3dv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLdouble

value pointing to count*12 elements of type GLdouble.

-> m () 

glProgramUniformMatrix4x3fv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*12 elements of type GLfloat.

-> m () 

Manual page for OpenGL 4.x.

glUseProgramStages Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> GLbitfield

stages of type UseProgramStageMask.

-> GLuint

program.

-> m () 

Manual page for OpenGL 4.x.

glValidateProgramPipeline Source #

Arguments

:: MonadIO m 
=> GLuint

pipeline.

-> m () 

Manual page for OpenGL 4.x.