OpenGLRaw-2.5.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.EXT.DrawInstanced

Contents

Description

The EXT_draw_instanced extension.

Synopsis

Functions

glDrawArraysInstancedEXT Source

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

start.

-> GLsizei

count.

-> GLsizei

primcount.

-> m () 

glDrawElementsInstancedEXT 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 ()