OpenGLRaw-3.2.2.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.ShaderSubroutine

Contents

Description

 

Synopsis

Extension Support

glGetARBShaderSubroutine :: MonadIO m => m Bool Source #

Is the ARB_shader_subroutine extension supported?

gl_ARB_shader_subroutine :: Bool Source #

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

Enums

Functions

glGetActiveSubroutineName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

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

glGetActiveSubroutineUniformName Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

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

glGetActiveSubroutineUniformiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

-> GLuint

index.

-> GLenum

pname.

-> Ptr GLint

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

-> m () 

Manual page for OpenGL 4.x.

glGetProgramStageiv Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

-> GLenum

pname.

-> Ptr GLint

values pointing to 1 element of type GLint.

-> m () 

Manual page for OpenGL 4.x.

glGetSubroutineIndex Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

-> Ptr GLchar

name.

-> m GLuint 

Manual page for OpenGL 4.x.

glGetSubroutineUniformLocation Source #

Arguments

:: MonadIO m 
=> GLuint

program.

-> GLenum

shadertype.

-> Ptr GLchar

name.

-> m GLint 

Manual page for OpenGL 4.x.

glGetUniformSubroutineuiv Source #

Arguments

:: MonadIO m 
=> GLenum

shadertype.

-> GLint

location.

-> Ptr GLuint

params pointing to 1 element of type GLuint.

-> m () 

Manual page for OpenGL 4.x.

glUniformSubroutinesuiv Source #

Arguments

:: MonadIO m 
=> GLenum

shadertype.

-> GLsizei

count.

-> Ptr GLuint

indices pointing to count elements of type GLuint.

-> m () 

Manual page for OpenGL 4.x.