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

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

Graphics.GL.AMD.MultiDrawIndirect

Contents

Description

 

Synopsis

Extension Support

gl_AMD_multi_draw_indirect :: Bool Source #

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

Functions

glMultiDrawArraysIndirectAMD Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> Ptr a

indirect.

-> GLsizei

primcount.

-> GLsizei

stride.

-> m () 

This command is an alias for glMultiDrawArraysIndirect.

glMultiDrawElementsIndirectAMD Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indirect.

-> GLsizei

primcount.

-> GLsizei

stride.

-> m () 

This command is an alias for glMultiDrawElementsIndirect.