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

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

Graphics.Rendering.OpenGL.Raw.ARB.DrawIndirect

Contents

Description

 

Synopsis

Extension Support

glGetARBDrawIndirect :: MonadIO m => m Bool Source

Is the ARB_draw_indirect extension supported?

gl_ARB_draw_indirect :: Bool Source

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

Enums

Functions

glDrawArraysIndirect Source

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> Ptr a

indirect.

-> m () 

Manual page for OpenGL 4.x.

glDrawElementsIndirect Source

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLenum

type.

-> Ptr a

indirect.

-> m () 

Manual page for OpenGL 4.x.