diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2016-01-10 22:58:12 +0100 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2016-01-10 22:58:12 +0100 |
commit | 2344d2af7eb3e5515408d134a074b989e7b5efde (patch) | |
tree | 01b905a55d0b8e0560097241dd2cd277f6bfab46 /src/LambdaCube/GL.hs | |
parent | e936d3c32c17c0d00939893fa85996c3807ed3e7 (diff) |
update example
Diffstat (limited to 'src/LambdaCube/GL.hs')
-rw-r--r-- | src/LambdaCube/GL.hs | 13 |
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 | ||
86 | import LambdaCube.GL.Type | 95 | import LambdaCube.GL.Type |