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

pattern GL_TYPE :: GLenum Source #

Functions

glGetProgramInterfaceiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

programInterface of type ProgramInterface.

-> GLenum

pname of type ProgramInterfacePName.

-> 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 of type 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 of type 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 of type 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 of type 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 of type 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.