Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gl_ANGLE_instanced_arrays :: Bool
- glDrawArraysInstancedANGLE :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m ()
- glDrawElementsInstancedANGLE :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m ()
- glVertexAttribDivisorANGLE :: MonadIO m => GLuint -> GLuint -> m ()
- pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE :: forall a. (Num a, Eq a) => a
Extension Support
gl_ANGLE_instanced_arrays :: Bool Source #
Checks that the GL_ANGLE_instanced_arrays extension is available.
GL_ANGLE_instanced_arrays
glDrawArraysInstancedANGLE :: MonadIO m => GLenum -> GLint -> GLsizei -> GLsizei -> m () Source #
Usage: glDrawArraysInstancedANGLE
mode first count primcount
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
.
This command is an alias for glDrawArraysInstanced
.
glDrawElementsInstancedANGLE :: MonadIO m => GLenum -> GLsizei -> GLenum -> Ptr () -> GLsizei -> m () Source #
Usage: glDrawElementsInstancedANGLE
mode count type indices primcount
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 COMPSIZE(count,type)
.
This command is an alias for glDrawElementsInstanced
.
glVertexAttribDivisorANGLE :: MonadIO m => GLuint -> GLuint -> m () Source #
Usage: glVertexAttribDivisorANGLE
index divisor
This command is an alias for glVertexAttribDivisor
.
pattern GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE :: forall a. (Num a, Eq a) => a Source #