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

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

Graphics.Rendering.OpenGL.Raw.ARB.ProgramInterfaceQuery

Contents

Description

 

Synopsis

Extension Support

gl_ARB_program_interface_query :: Bool Source

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

Enums

Functions

glGetProgramInterfaceiv Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetProgramResourceIndex Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> Ptr GLchar

name pointing to COMPSIZE(name) elements of type GLchar.

-> m GLuint 

Manual page for OpenGL 4.x.

glGetProgramResourceLocation Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> Ptr GLchar

name pointing to COMPSIZE(name) elements of type GLchar.

-> m GLint 

Manual page for OpenGL 4.x.

glGetProgramResourceLocationIndex Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> Ptr GLchar

name pointing to COMPSIZE(name) elements of type GLchar.

-> m GLint 

Manual page for OpenGL 4.x.

glGetProgramResourceName Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> GLuint

index.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

name pointing to bufSize elements of type GLchar.

-> m () 

Manual page for OpenGL 4.x.

glGetProgramResourceiv Source

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface.

-> GLuint

index.

-> GLsizei

propCount.

-> Ptr GLenum

props pointing to propCount elements of type GLenum.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLint

params pointing to bufSize elements of type GLint.

-> m () 

Manual page for OpenGL 4.x.