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

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

Graphics.GL.ARB.BaseInstance

Contents

Description

 

Synopsis

Extension Support

glGetARBBaseInstance :: MonadIO m => m Bool Source #

Is the ARB_base_instance extension supported?

gl_ARB_base_instance :: Bool Source #

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

Functions

glDrawArraysInstancedBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLint

first.

-> GLsizei

count.

-> GLsizei

instancecount.

-> GLuint

baseinstance.

-> m () 

Manual page for OpenGL 4.x.

glDrawElementsInstancedBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type.

-> Ptr a

indices pointing to count elements of type a.

-> GLsizei

instancecount.

-> GLuint

baseinstance.

-> m () 

Manual page for OpenGL 4.x.

glDrawElementsInstancedBaseVertexBaseInstance Source #

Arguments

:: MonadIO m 
=> GLenum

mode of type PrimitiveType.

-> GLsizei

count.

-> GLenum

type.

-> Ptr a

indices pointing to count elements of type a.

-> GLsizei

instancecount.

-> GLint

basevertex.

-> GLuint

baseinstance.

-> m () 

Manual page for OpenGL 4.x.