OpenGLRaw-3.3.4.1: 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.DrawInstanced

Description

 
Synopsis

Extension Support

glGetARBDrawInstanced :: MonadIO m => m Bool Source #

Is the ARB_draw_instanced extension supported?

gl_ARB_draw_instanced :: Bool Source #

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

Functions

glDrawArraysInstancedARB Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

primcount.

-> m () 

This command is an alias for glDrawArraysInstanced.

glDrawElementsInstancedARB Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

indices pointing to COMPSIZE(count,type) elements of type a.

-> GLsizei

primcount.

-> m () 

This command is an alias for glDrawElementsInstanced.