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.EXT.MultiDrawArrays

Contents

Description

 

Synopsis

Extension Support

glGetEXTMultiDrawArrays :: MonadIO m => m Bool Source #

Is the EXT_multi_draw_arrays extension supported?

gl_EXT_multi_draw_arrays :: Bool Source #

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

Functions

glMultiDrawArraysEXT Source #

Arguments

:: MonadIO m 
=> GLenum

mode 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.

-> m () 

This command is an alias for glMultiDrawArrays.

glMultiDrawElementsEXT Source #

Arguments

:: MonadIO m 
=> GLenum

mode 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.

-> m () 

This command is an alias for glMultiDrawElements.