Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gl_ARB_base_instance :: Bool
- glDrawArraysInstancedBaseInstance :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> GLuint -> m ()
- glDrawElementsInstancedBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLuint -> m ()
- glDrawElementsInstancedBaseVertexBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> GLuint -> m ()
Extension Support
gl_ARB_base_instance :: Bool Source #
Checks that the GL_ARB_base_instance extension is available.
GL_ARB_base_instance
glDrawArraysInstancedBaseInstance :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> GLuint -> m () Source #
Usage: glDrawArraysInstancedBaseInstance
mode first count instancecount baseinstance
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawArraysInstancedBaseInstance.xhtml
glDrawElementsInstancedBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLuint -> m () Source #
Usage: glDrawElementsInstancedBaseInstance
mode count type indices instancecount baseinstance
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
The length of indices
should be count
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawElementsInstancedBaseInstance.xhtml
glDrawElementsInstancedBaseVertexBaseInstance :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> GLint -> GLuint -> m () Source #
Usage: glDrawElementsInstancedBaseVertexBaseInstance
mode count type indices instancecount basevertex baseinstance
The parameter mode
is a PrimitiveType
, one of: GL_LINES
, GL_LINES_ADJACENCY
, GL_LINES_ADJACENCY_ARB
, GL_LINES_ADJACENCY_EXT
, GL_LINE_LOOP
, GL_LINE_STRIP
, GL_LINE_STRIP_ADJACENCY
, GL_LINE_STRIP_ADJACENCY_ARB
, GL_LINE_STRIP_ADJACENCY_EXT
, GL_PATCHES
, GL_PATCHES_EXT
, GL_POINTS
, GL_POLYGON
, GL_QUADS
, GL_QUADS_EXT
, GL_QUAD_STRIP
, GL_TRIANGLES
, GL_TRIANGLES_ADJACENCY
, GL_TRIANGLES_ADJACENCY_ARB
, GL_TRIANGLES_ADJACENCY_EXT
, GL_TRIANGLE_FAN
, GL_TRIANGLE_STRIP
, GL_TRIANGLE_STRIP_ADJACENCY
, GL_TRIANGLE_STRIP_ADJACENCY_ARB
, GL_TRIANGLE_STRIP_ADJACENCY_EXT
.
The length of indices
should be count
.
Manual page: https://www.opengl.org/sdk/docs/man/html/glDrawElementsInstancedBaseVertexBaseInstance.xhtml