OpenGLRaw-3.3.4.0: 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.DrawElementsBaseVertex

Contents

Description

 
Synopsis

Extension Support

gl_ARB_draw_elements_base_vertex :: Bool Source #

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

Functions

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

-> GLint

basevertex.

-> m () 

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

glDrawElementsInstancedBaseVertex 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

instancecount.

-> GLint

basevertex.

-> m () 

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

glDrawRangeElementsBaseVertex Source #

Arguments

:: MonadIO m 
=> 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.

-> m () 

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

glMultiDrawElementsBaseVertex Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

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

-> m () 

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