Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gl_ARB_shader_subroutine :: Bool
- glGetActiveSubroutineName :: MonadIO m => GLuint -> GLenum -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetActiveSubroutineUniformName :: MonadIO m => GLuint -> GLenum -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m ()
- glGetActiveSubroutineUniformiv :: MonadIO m => GLuint -> GLenum -> GLuint -> GLenum -> Ptr GLint -> m ()
- glGetProgramStageiv :: MonadIO m => GLuint -> GLenum -> GLenum -> Ptr GLint -> m ()
- glGetSubroutineIndex :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> m GLuint
- glGetSubroutineUniformLocation :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> m GLint
- glGetUniformSubroutineuiv :: MonadIO m => GLenum -> GLint -> Ptr GLuint -> m ()
- glUniformSubroutinesuiv :: MonadIO m => GLenum -> GLsizei -> Ptr GLuint -> m ()
- pattern GL_ACTIVE_SUBROUTINES :: forall a. (Num a, Eq a) => a
- pattern GL_ACTIVE_SUBROUTINE_MAX_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_ACTIVE_SUBROUTINE_UNIFORMS :: forall a. (Num a, Eq a) => a
- pattern GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS :: forall a. (Num a, Eq a) => a
- pattern GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_COMPATIBLE_SUBROUTINES :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_SUBROUTINES :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS :: forall a. (Num a, Eq a) => a
- pattern GL_NUM_COMPATIBLE_SUBROUTINES :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_NAME_LENGTH :: forall a. (Num a, Eq a) => a
- pattern GL_UNIFORM_SIZE :: forall a. (Num a, Eq a) => a
Extension Support
gl_ARB_shader_subroutine :: Bool Source #
Checks that the GL_ARB_shader_subroutine extension is available.
GL_ARB_shader_subroutine
glGetActiveSubroutineName :: MonadIO m => GLuint -> GLenum -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetActiveSubroutineName
program shadertype index bufsize length name
The length of length
should be 1
.
The length of name
should be bufsize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveSubroutineName.xhtml
glGetActiveSubroutineUniformName :: MonadIO m => GLuint -> GLenum -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #
Usage: glGetActiveSubroutineUniformName
program shadertype index bufsize length name
The length of length
should be 1
.
The length of name
should be bufsize
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetActiveSubroutineUniformName.xhtml
glGetActiveSubroutineUniformiv :: MonadIO m => GLuint -> GLenum -> GLuint -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetActiveSubroutineUniformiv
program shadertype index pname values
The length of values
should be COMPSIZE(pname)
.
glGetProgramStageiv :: MonadIO m => GLuint -> GLenum -> GLenum -> Ptr GLint -> m () Source #
Usage: glGetProgramStageiv
program shadertype pname values
The length of values
should be 1
.
glGetSubroutineIndex :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> m GLuint Source #
Usage: glGetSubroutineIndex
program shadertype name
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetSubroutineIndex.xhtml
glGetSubroutineUniformLocation :: MonadIO m => GLuint -> GLenum -> Ptr GLchar -> m GLint Source #
Usage: glGetSubroutineUniformLocation
program shadertype name
Manual page: https://www.opengl.org/sdk/docs/man/html/glGetSubroutineUniformLocation.xhtml
glGetUniformSubroutineuiv :: MonadIO m => GLenum -> GLint -> Ptr GLuint -> m () Source #
Usage: glGetUniformSubroutineuiv
shadertype location params
The length of params
should be 1
.
glUniformSubroutinesuiv :: MonadIO m => GLenum -> GLsizei -> Ptr GLuint -> m () Source #
Usage: glUniformSubroutinesuiv
shadertype count indices
The length of indices
should be count
.
pattern GL_ACTIVE_SUBROUTINES :: forall a. (Num a, Eq a) => a Source #
pattern GL_ACTIVE_SUBROUTINE_MAX_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_ACTIVE_SUBROUTINE_UNIFORMS :: forall a. (Num a, Eq a) => a Source #
pattern GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS :: forall a. (Num a, Eq a) => a Source #
pattern GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_COMPATIBLE_SUBROUTINES :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_SUBROUTINES :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS :: forall a. (Num a, Eq a) => a Source #
pattern GL_NUM_COMPATIBLE_SUBROUTINES :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_NAME_LENGTH :: forall a. (Num a, Eq a) => a Source #
pattern GL_UNIFORM_SIZE :: forall a. (Num a, Eq a) => a Source #