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

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

Graphics.GL.ARB.UniformBufferObject

Contents

Description

 

Synopsis

Extension Support

gl_ARB_uniform_buffer_object :: Bool Source #

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

Enums

Functions

glBindBufferBase Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> m () 

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

glBindBufferRange Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> GLuint

buffer.

-> GLintptr

offset of type BufferOffset.

-> GLsizeiptr

size of type BufferSize.

-> m () 

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

glGetActiveUniformBlockName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

uniformBlockName pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniformBlockiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

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

glGetActiveUniformName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformIndex.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

uniformName pointing to bufSize elements of type GLchar.

-> m () 

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

glGetActiveUniformsiv Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glGetIntegeri_v Source #

Arguments

:: MonadIO m 
=> GLenum

target.

-> GLuint

index.

-> Ptr GLint

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

-> m () 

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

glGetUniformBlockIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> Ptr GLchar

uniformBlockName pointing to COMPSIZE() elements of type GLchar.

-> m GLuint 

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

glGetUniformIndices Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glUniformBlockBinding Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLuint

uniformBlockIndex.

-> GLuint

uniformBlockBinding.

-> m () 

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