summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/gl.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/chickadee/render/gl.scm b/chickadee/render/gl.scm
index 02ef321..e6d7305 100644
--- a/chickadee/render/gl.scm
+++ b/chickadee/render/gl.scm
@@ -83,17 +83,26 @@
(first GLint)
(count GLsizei)
(primcount GLsizei)
- -> GLboolean)
+ -> void)
"Draw multiple instances of a set of arrays.")
+(define-gl-procedure (glDrawElementsInstanced (mode GLenum)
+ (count GLsizei)
+ (type GLenum)
+ (indices void-*)
+ (primcount GLsizei)
+ -> void)
+ "Draw multiple instances of a set of elements.")
+
(define-gl-procedure (glVertexAttribDivisor (index GLuint)
(divisor GLuint)
-> void)
"Modify the rate at which generic vertex attributes advance during
instanced rendering.")
-(export glDrawArraysInstanced
- glVertexAttribDivisor)
+(export (glDrawArraysInstanced . gl-draw-arrays-instanced)
+ (glDrawElementsInstanced . gl-draw-elements-instanced)
+ (glVertexAttribDivisor . gl-vertex-attrib-divisor))
;;;
;;; VBOs