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

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

Graphics.Rendering.OpenGL.Raw.ARB.ShaderObjects

Contents

Description

All raw functions, tokens and types from the ARB_shader_objects extension, see http://www.opengl.org/registry/specs/ARB/shader_objects.txt.

Synopsis

Functions

glShaderSource Source

Arguments

:: GLuint

shader.

-> GLsizei

count.

-> Ptr (Ptr GLchar)

string pointing to count elements of type Ptr GLchar.

-> Ptr GLint

length pointing to count elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glCompileShader Source

Arguments

:: GLuint

shader.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glLinkProgram Source

Arguments

:: GLuint

program.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glValidateProgram Source

Arguments

:: GLuint

program.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform1f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform2f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform3f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform4f Source

Arguments

:: GLint

location.

-> GLfloat

v0.

-> GLfloat

v1.

-> GLfloat

v2.

-> GLfloat

v3.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform1i Source

Arguments

:: GLint

location.

-> GLint

v0.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform2i Source

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform3i Source

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform4i Source

Arguments

:: GLint

location.

-> GLint

v0.

-> GLint

v1.

-> GLint

v2.

-> GLint

v3.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform1fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*1 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform2fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*2 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform3fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*3 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform4fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform1iv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*1 elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform2iv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*2 elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform3iv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*3 elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniform4iv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> Ptr GLint

value pointing to count*4 elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniformMatrix2fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*4 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniformMatrix3fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*9 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glUniformMatrix4fv Source

Arguments

:: GLint

location.

-> GLsizei

count.

-> GLboolean

transpose of type Boolean.

-> Ptr GLfloat

value pointing to count*16 elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetUniformLocation Source

Arguments

:: GLuint

program.

-> Ptr GLchar

name.

-> IO GLint 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetActiveUniform Source

Arguments

:: GLuint

program.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLint

size pointing to 1 elements of type GLint.

-> Ptr GLenum

type pointing to 1 elements of type GLenum.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetUniformfv Source

Arguments

:: GLuint

program.

-> GLint

location.

-> Ptr GLfloat

params pointing to COMPSIZE(program,location) elements of type GLfloat.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetUniformiv Source

Arguments

:: GLuint

program.

-> GLint

location.

-> Ptr GLint

params pointing to COMPSIZE(program,location) elements of type GLint.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

glGetShaderSource Source

Arguments

:: GLuint

shader.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

source pointing to bufSize elements of type GLchar.

-> IO () 

Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x

Tokens

Types