render: Make apply-* procedures public. master
authorDavid Thompson <dthompson2@worcester.edu>
Tue, 19 Nov 2019 22:35:56 +0000 (17:35 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Tue, 19 Nov 2019 22:35:56 +0000 (17:35 -0500)
chickadee/render/buffer.scm
chickadee/render/framebuffer.scm
chickadee/render/shader.scm
chickadee/render/texture.scm
chickadee/render/viewport.scm

index c38e1fc..fc66dad 100644 (file)
@@ -47,6 +47,7 @@
             buffer-usage
             buffer-data
             null-buffer
+            apply-buffer
             map-buffer!
             unmap-buffer!
             with-mapped-buffer
@@ -70,6 +71,7 @@
             unmap-buffer-view!
             with-mapped-buffer-view
             make-vertex-array
+            apply-vertex-array
             vertex-array?
             vertex-array-indices
             vertex-array-attributes
index d5a8d44..53890ba 100644 (file)
@@ -38,7 +38,8 @@
             framebuffer-texture
             framebuffer-viewport
             framebuffer-projection
-            null-framebuffer))
+            null-framebuffer
+            apply-framebuffer))
 
 (define (generate-framebuffer)
   "Generate a new OpenGL framebuffer object."
index 5b807ab..baf0302 100644 (file)
@@ -53,6 +53,7 @@
             make-shader
             shader?
             null-shader
+            apply-shader
             load-shader
             strings->shader
             shader-uniform
index b215722..4aea488 100644 (file)
@@ -48,6 +48,7 @@
             texture-gl-rect
             texture-gl-tex-rect
             null-texture
+            apply-texture
 
             texture-atlas
             list->texture-atlas
index 8005f80..e61136d 100644 (file)
@@ -38,6 +38,7 @@
             viewport-clear-color
             viewport-clear-flags
             null-viewport
+            apply-viewport
             %default-clear-flags
             %default-clear-color))