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

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

Graphics.GL.ARB.MultiDrawIndirect

Contents

Description

 
Synopsis

Extension Support

gl_ARB_multi_draw_indirect :: Bool Source #

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

Functions

glMultiDrawArraysIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> Ptr a

indirect pointing to COMPSIZE(drawcount,stride) elements of type a.

-> GLsizei

drawcount.

-> GLsizei

stride.

-> m () 

Manual page for OpenGL 4.x.

glMultiDrawElementsIndirect Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indirect pointing to COMPSIZE(drawcount,stride) elements of type a.

-> GLsizei

drawcount.

-> GLsizei

stride.

-> m () 

Manual page for OpenGL 4.x.