OpenGLRaw-3.2.7.0: A raw binding for the OpenGL graphics system

Copyright(c) Sven Panne 2017
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.IBM.MultimodeDrawArrays

Contents

Description

 

Synopsis

Extension Support

gl_IBM_multimode_draw_arrays :: Bool Source #

Is the IBM_multimode_draw_arrays extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use glGetIBMMultimodeDrawArrays in those cases instead.

Functions

glMultiModeDrawArraysIBM Source #

Arguments

:: MonadIO m 
=> Ptr GLenum

mode pointing to COMPSIZE(primcount) elements of type PrimitiveType.

-> Ptr GLint

first pointing to COMPSIZE(primcount) elements of type GLint.

-> Ptr GLsizei

count pointing to COMPSIZE(primcount) elements of type GLsizei.

-> GLsizei

primcount.

-> GLint

modestride.

-> m () 

glMultiModeDrawElementsIBM Source #

Arguments

:: MonadIO m 
=> Ptr GLenum

mode pointing to COMPSIZE(primcount) elements of type PrimitiveType.

-> Ptr GLsizei

count pointing to COMPSIZE(primcount) elements of type GLsizei.

-> GLenum

type of type DrawElementsType.

-> Ptr (Ptr a)

indices pointing to COMPSIZE(primcount) elements of type Ptr a.

-> GLsizei

primcount.

-> GLint

modestride.

-> m ()