summaryrefslogtreecommitdiff
path: root/src/LambdaCube/GL.hs
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2016-01-10 22:58:12 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2016-01-10 22:58:12 +0100
commit2344d2af7eb3e5515408d134a074b989e7b5efde (patch)
tree01b905a55d0b8e0560097241dd2cd277f6bfab46 /src/LambdaCube/GL.hs
parente936d3c32c17c0d00939893fa85996c3807ed3e7 (diff)
update example
Diffstat (limited to 'src/LambdaCube/GL.hs')
-rw-r--r--src/LambdaCube/GL.hs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/LambdaCube/GL.hs b/src/LambdaCube/GL.hs
index 3e11be1..258d2ba 100644
--- a/src/LambdaCube/GL.hs
+++ b/src/LambdaCube/GL.hs
@@ -28,6 +28,7 @@ module LambdaCube.GL (
28 uploadTexture2DToGPU', 28 uploadTexture2DToGPU',
29 29
30 -- GL: Renderer, Storage, Object 30 -- GL: Renderer, Storage, Object
31 GLUniformName,
31 GLRenderer, 32 GLRenderer,
32 GLStorage, 33 GLStorage,
33 Object, 34 Object,
@@ -48,7 +49,6 @@ module LambdaCube.GL (
48 setObjectOrder, 49 setObjectOrder,
49 objectUniformSetter, 50 objectUniformSetter,
50 setScreenSize, 51 setScreenSize,
51 sortSlotObjects,
52 52
53 uniformBool, 53 uniformBool,
54 uniformV2B, 54 uniformV2B,
@@ -80,7 +80,16 @@ module LambdaCube.GL (
80 uniformM43F, 80 uniformM43F,
81 uniformM44F, 81 uniformM44F,
82 82
83 uniformFTexture2D 83 uniformFTexture2D,
84
85 -- schema builder utility functions
86 (@:),
87 defObjectArray,
88 defUniforms,
89 makeSchema,
90
91 (@=),
92 updateUniforms
84) where 93) where
85 94
86import LambdaCube.GL.Type 95import LambdaCube.GL.Type