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.UniformBufferObject

Contents

Description

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

Synopsis

Functions

glGetUniformIndices Source

Arguments

:: GLuint

program.

-> GLsizei

uniformCount.

-> Ptr (Ptr GLchar)

uniformNames pointing to COMPSIZE(uniformCount) elements of type Ptr GLchar.

-> Ptr GLuint

uniformIndices pointing to COMPSIZE(uniformCount) elements of type GLuint.

-> IO () 

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

glGetActiveUniformsiv Source

Arguments

:: GLuint

program.

-> GLsizei

uniformCount.

-> Ptr GLuint

uniformIndices pointing to uniformCount elements of type GLuint.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetActiveUniformName Source

Arguments

:: GLuint

program.

-> GLuint

uniformIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

uniformName pointing to bufSize elements of type GLchar.

-> IO () 

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

glGetUniformBlockIndex Source

Arguments

:: GLuint

program.

-> Ptr GLchar

uniformBlockName pointing to COMPSIZE() elements of type GLchar.

-> IO GLuint 

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

glGetActiveUniformBlockiv Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLenum

pname.

-> Ptr GLint

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

-> IO () 

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

glGetActiveUniformBlockName Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 elements of type GLsizei.

-> Ptr GLchar

uniformBlockName pointing to bufSize elements of type GLchar.

-> IO () 

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

glBindBufferRange Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> IO () 

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

glBindBufferBase Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> IO () 

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

glGetIntegeri_v Source

Arguments

:: GLenum

target.

-> GLuint

index.

-> Ptr GLint

data pointing to COMPSIZE(target) elements of type GLint.

-> IO () 

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

glUniformBlockBinding Source

Arguments

:: GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLuint

uniformBlockBinding.

-> IO () 

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

Tokens