Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gl_EXT_draw_range_elements :: Bool
- glDrawRangeElementsEXT :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> m ()
- pattern GL_MAX_ELEMENTS_INDICES_EXT :: forall a. (Num a, Eq a) => a
- pattern GL_MAX_ELEMENTS_VERTICES_EXT :: forall a. (Num a, Eq a) => a
Extension Support
gl_EXT_draw_range_elements :: Bool Source #
Checks that the GL_EXT_draw_range_elements extension is available.
GL_EXT_draw_range_elements
glDrawRangeElementsEXT :: MonadIO m => GLenum -> GLuint -> GLuint -> GLsizei -> GLenum -> Ptr () -> m () Source #
Usage: glDrawRangeElementsEXT
mode start end count type indices
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 parameter type
is a DrawElementsType
.
The length of indices
should be COMPSIZE(count,type)
.
This command is an alias for glDrawRangeElements
.
pattern GL_MAX_ELEMENTS_INDICES_EXT :: forall a. (Num a, Eq a) => a Source #
pattern GL_MAX_ELEMENTS_VERTICES_EXT :: forall a. (Num a, Eq a) => a Source #