gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.IBM.MultimodeDrawArrays

Contents

Synopsis

Extension Support

gl_IBM_multimode_draw_arrays :: Bool Source #

Checks that the GL_IBM_multimode_draw_arrays extension is available.

GL_IBM_multimode_draw_arrays

glMultiModeDrawElementsIBM :: MonadIO m => Ptr GLenum -> Ptr GLsizei -> GLenum -> Ptr (Ptr ()) -> GLsizei -> GLint -> m () Source #

Usage: glMultiModeDrawElementsIBM mode count type indices primcount modestride

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 mode should be COMPSIZE(primcount).

The length of count should be COMPSIZE(primcount).

The length of indices should be COMPSIZE(primcount).