Copyright | (c) Sven Panne 2017 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
- glGetARBVertexShader :: MonadIO m => m Bool
- gl_ARB_vertex_shader :: Bool
- pattern GL_CURRENT_VERTEX_ATTRIB_ARB :: GLenum
- pattern GL_FLOAT :: GLenum
- pattern GL_FLOAT_MAT2_ARB :: GLenum
- pattern GL_FLOAT_MAT3_ARB :: GLenum
- pattern GL_FLOAT_MAT4_ARB :: GLenum
- pattern GL_FLOAT_VEC2_ARB :: GLenum
- pattern GL_FLOAT_VEC3_ARB :: GLenum
- pattern GL_FLOAT_VEC4_ARB :: GLenum
- pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB :: GLenum
- pattern GL_MAX_TEXTURE_COORDS_ARB :: GLenum
- pattern GL_MAX_TEXTURE_IMAGE_UNITS_ARB :: GLenum
- pattern GL_MAX_VARYING_FLOATS_ARB :: GLenum
- pattern GL_MAX_VERTEX_ATTRIBS_ARB :: GLenum
- pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB :: GLenum
- pattern GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB :: GLenum
- pattern GL_OBJECT_ACTIVE_ATTRIBUTES_ARB :: GLenum
- pattern GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB :: GLenum
- pattern GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB :: GLenum
- pattern GL_VERTEX_PROGRAM_POINT_SIZE_ARB :: GLenum
- pattern GL_VERTEX_PROGRAM_TWO_SIDE_ARB :: GLenum
- pattern GL_VERTEX_SHADER_ARB :: GLenum
- glBindAttribLocationARB :: MonadIO m => GLhandleARB -> GLuint -> Ptr GLcharARB -> m ()
- glDisableVertexAttribArrayARB :: MonadIO m => GLuint -> m ()
- glEnableVertexAttribArrayARB :: MonadIO m => GLuint -> m ()
- glGetActiveAttribARB :: MonadIO m => GLhandleARB -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLint -> Ptr GLenum -> Ptr GLcharARB -> m ()
- glGetAttribLocationARB :: MonadIO m => GLhandleARB -> Ptr GLcharARB -> m GLint
- glGetVertexAttribPointervARB :: MonadIO m => GLuint -> GLenum -> Ptr (Ptr a) -> m ()
- glGetVertexAttribdvARB :: MonadIO m => GLuint -> GLenum -> Ptr GLdouble -> m ()
- glGetVertexAttribfvARB :: MonadIO m => GLuint -> GLenum -> Ptr GLfloat -> m ()
- glGetVertexAttribivARB :: MonadIO m => GLuint -> GLenum -> Ptr GLint -> m ()
- glVertexAttrib1dARB :: MonadIO m => GLuint -> GLdouble -> m ()
- glVertexAttrib1dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib1fARB :: MonadIO m => GLuint -> GLfloat -> m ()
- glVertexAttrib1fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib1sARB :: MonadIO m => GLuint -> GLshort -> m ()
- glVertexAttrib1svARB :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib2dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> m ()
- glVertexAttrib2dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib2fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> m ()
- glVertexAttrib2fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib2sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> m ()
- glVertexAttrib2svARB :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib3dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> m ()
- glVertexAttrib3dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib3fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib3fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib3sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> m ()
- glVertexAttrib3svARB :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4NbvARB :: MonadIO m => GLuint -> Ptr GLbyte -> m ()
- glVertexAttrib4NivARB :: MonadIO m => GLuint -> Ptr GLint -> m ()
- glVertexAttrib4NsvARB :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4NubARB :: MonadIO m => GLuint -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> m ()
- glVertexAttrib4NubvARB :: MonadIO m => GLuint -> Ptr GLubyte -> m ()
- glVertexAttrib4NuivARB :: MonadIO m => GLuint -> Ptr GLuint -> m ()
- glVertexAttrib4NusvARB :: MonadIO m => GLuint -> Ptr GLushort -> m ()
- glVertexAttrib4bvARB :: MonadIO m => GLuint -> Ptr GLbyte -> m ()
- glVertexAttrib4dARB :: MonadIO m => GLuint -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> m ()
- glVertexAttrib4dvARB :: MonadIO m => GLuint -> Ptr GLdouble -> m ()
- glVertexAttrib4fARB :: MonadIO m => GLuint -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> m ()
- glVertexAttrib4fvARB :: MonadIO m => GLuint -> Ptr GLfloat -> m ()
- glVertexAttrib4ivARB :: MonadIO m => GLuint -> Ptr GLint -> m ()
- glVertexAttrib4sARB :: MonadIO m => GLuint -> GLshort -> GLshort -> GLshort -> GLshort -> m ()
- glVertexAttrib4svARB :: MonadIO m => GLuint -> Ptr GLshort -> m ()
- glVertexAttrib4ubvARB :: MonadIO m => GLuint -> Ptr GLubyte -> m ()
- glVertexAttrib4uivARB :: MonadIO m => GLuint -> Ptr GLuint -> m ()
- glVertexAttrib4usvARB :: MonadIO m => GLuint -> Ptr GLushort -> m ()
- glVertexAttribPointerARB :: MonadIO m => GLuint -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr a -> m ()
Extension Support
glGetARBVertexShader :: MonadIO m => m Bool Source #
Is the ARB_vertex_shader extension supported?
gl_ARB_vertex_shader :: Bool Source #
Is the ARB_vertex_shader extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetARBVertexShader
in those cases instead.
Enums
pattern GL_CURRENT_VERTEX_ATTRIB_ARB :: GLenum Source #
pattern GL_FLOAT_MAT2_ARB :: GLenum Source #
pattern GL_FLOAT_MAT3_ARB :: GLenum Source #
pattern GL_FLOAT_MAT4_ARB :: GLenum Source #
pattern GL_FLOAT_VEC2_ARB :: GLenum Source #
pattern GL_FLOAT_VEC3_ARB :: GLenum Source #
pattern GL_FLOAT_VEC4_ARB :: GLenum Source #
pattern GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB :: GLenum Source #
pattern GL_MAX_TEXTURE_COORDS_ARB :: GLenum Source #
pattern GL_MAX_TEXTURE_IMAGE_UNITS_ARB :: GLenum Source #
pattern GL_MAX_VARYING_FLOATS_ARB :: GLenum Source #
pattern GL_MAX_VERTEX_ATTRIBS_ARB :: GLenum Source #
pattern GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB :: GLenum Source #
pattern GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB :: GLenum Source #
pattern GL_OBJECT_ACTIVE_ATTRIBUTES_ARB :: GLenum Source #
pattern GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB :: GLenum Source #
pattern GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB :: GLenum Source #
pattern GL_VERTEX_PROGRAM_POINT_SIZE_ARB :: GLenum Source #
pattern GL_VERTEX_PROGRAM_TWO_SIDE_ARB :: GLenum Source #
pattern GL_VERTEX_SHADER_ARB :: GLenum Source #
Functions
glBindAttribLocationARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> GLuint |
|
-> Ptr GLcharARB |
|
-> m () |
This command is an alias for glBindAttribLocation
.
glDisableVertexAttribArrayARB Source #
This command is an alias for glDisableVertexAttribArray
.
glEnableVertexAttribArrayARB Source #
This command is an alias for glEnableVertexAttribArray
.
:: MonadIO m | |
=> GLhandleARB |
|
-> GLuint |
|
-> GLsizei |
|
-> Ptr GLsizei |
|
-> Ptr GLint |
|
-> Ptr GLenum |
|
-> Ptr GLcharARB |
|
-> m () |
This command is an alias for glGetActiveAttrib
.
glGetAttribLocationARB Source #
:: MonadIO m | |
=> GLhandleARB |
|
-> Ptr GLcharARB |
|
-> m GLint |
This command is an alias for glGetAttribLocation
.
glGetVertexAttribPointervARB Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr (Ptr a) |
|
-> m () |
This command is an alias for glGetVertexAttribPointerv
.
glGetVertexAttribdvARB Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLdouble |
|
-> m () |
This command is an alias for glGetVertexAttribdv
.
glGetVertexAttribfvARB Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLfloat |
|
-> m () |
This command is an alias for glGetVertexAttribfv
.
glGetVertexAttribivARB Source #
:: MonadIO m | |
=> GLuint |
|
-> GLenum |
|
-> Ptr GLint |
|
-> m () |
This command is an alias for glGetVertexAttribiv
.
The vector equivalent of this command is glVertexAttrib1dvARB
. This command is an alias for glVertexAttrib1d
.
This command is an alias for glVertexAttrib1dv
.
The vector equivalent of this command is glVertexAttrib1fvARB
. This command is an alias for glVertexAttrib1f
.
This command is an alias for glVertexAttrib1fv
.
The vector equivalent of this command is glVertexAttrib1svARB
. This command is an alias for glVertexAttrib1s
.
This command is an alias for glVertexAttrib1sv
.
The vector equivalent of this command is glVertexAttrib2dvARB
. This command is an alias for glVertexAttrib2d
.
This command is an alias for glVertexAttrib2dv
.
The vector equivalent of this command is glVertexAttrib2fvARB
. This command is an alias for glVertexAttrib2f
.
This command is an alias for glVertexAttrib2fv
.
The vector equivalent of this command is glVertexAttrib2svARB
. This command is an alias for glVertexAttrib2s
.
This command is an alias for glVertexAttrib2sv
.
The vector equivalent of this command is glVertexAttrib3dvARB
. This command is an alias for glVertexAttrib3d
.
This command is an alias for glVertexAttrib3dv
.
The vector equivalent of this command is glVertexAttrib3fvARB
. This command is an alias for glVertexAttrib3f
.
This command is an alias for glVertexAttrib3fv
.
The vector equivalent of this command is glVertexAttrib3svARB
. This command is an alias for glVertexAttrib3s
.
This command is an alias for glVertexAttrib3sv
.
glVertexAttrib4NbvARB Source #
This command is an alias for glVertexAttrib4Nbv
.
glVertexAttrib4NivARB Source #
This command is an alias for glVertexAttrib4Niv
.
glVertexAttrib4NsvARB Source #
This command is an alias for glVertexAttrib4Nsv
.
glVertexAttrib4NubARB Source #
This command is an alias for glVertexAttrib4Nub
.
glVertexAttrib4NubvARB Source #
This command is an alias for glVertexAttrib4Nubv
.
glVertexAttrib4NuivARB Source #
This command is an alias for glVertexAttrib4Nuiv
.
glVertexAttrib4NusvARB Source #
This command is an alias for glVertexAttrib4Nusv
.
This command is an alias for glVertexAttrib4bv
.
The vector equivalent of this command is glVertexAttrib4dvARB
. This command is an alias for glVertexAttrib4d
.
This command is an alias for glVertexAttrib4dv
.
The vector equivalent of this command is glVertexAttrib4fvARB
. This command is an alias for glVertexAttrib4f
.
This command is an alias for glVertexAttrib4fv
.
This command is an alias for glVertexAttrib4iv
.
The vector equivalent of this command is glVertexAttrib4svARB
. This command is an alias for glVertexAttrib4s
.
This command is an alias for glVertexAttrib4sv
.
glVertexAttrib4ubvARB Source #
This command is an alias for glVertexAttrib4ubv
.
glVertexAttrib4uivARB Source #
This command is an alias for glVertexAttrib4uiv
.
glVertexAttrib4usvARB Source #
This command is an alias for glVertexAttrib4usv
.
glVertexAttribPointerARB Source #
:: MonadIO m | |
=> GLuint |
|
-> GLint |
|
-> GLenum |
|
-> GLboolean |
|
-> GLsizei |
|
-> Ptr a |
|
-> m () |
This command is an alias for glVertexAttribPointer
.