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

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

Graphics.Rendering.OpenGL.Raw.ARB.DrawInstanced

Contents

Description

All raw functions from the ARB_draw_instanced extension, see http://www.opengl.org/registry/specs/ARB/draw_instanced.txt.

Synopsis

Functions

glDrawArraysInstanced Source

Arguments

:: GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

instancecount.

-> IO () 

Manual pages for OpenGL 3.x or OpenGL 4.x

glDrawElementsInstanced Source

Arguments

:: 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

instancecount.

-> IO () 

Manual pages for OpenGL 3.x or OpenGL 4.x