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.DrawElementsBaseVertex

Contents

Description

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

Synopsis

Functions

glDrawElementsBaseVertex 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.

-> GLint

basevertex.

-> IO () 

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

glDrawRangeElementsBaseVertex Source

Arguments

:: GLenum

mode of type PrimitiveType.

-> GLuint

start.

-> GLuint

end.

-> GLsizei

count.

-> GLenum

type of type DrawElementsType.

-> Ptr a

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

-> GLint

basevertex.

-> IO () 

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

glDrawElementsInstancedBaseVertex 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.

-> GLint

basevertex.

-> IO () 

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

glMultiDrawElementsBaseVertex Source

Arguments

:: GLenum

mode.

-> Ptr GLsizei

count pointing to COMPSIZE(drawcount) elements of type GLsizei.

-> GLenum

type of type DrawElementsType.

-> Ptr (Ptr a)

indices pointing to COMPSIZE(drawcount) elements of type Ptr a.

-> GLsizei

drawcount.

-> Ptr GLint

basevertex pointing to COMPSIZE(drawcount) elements of type GLint.

-> IO () 

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