diff options
Diffstat (limited to 'src/LambdaCube/GL.hs')
-rw-r--r-- | src/LambdaCube/GL.hs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/LambdaCube/GL.hs b/src/LambdaCube/GL.hs index 258d2ba..2b5c814 100644 --- a/src/LambdaCube/GL.hs +++ b/src/LambdaCube/GL.hs | |||
@@ -1,4 +1,6 @@ | |||
1 | module LambdaCube.GL ( | 1 | module LambdaCube.GL ( |
2 | -- Schema | ||
3 | module LambdaCube.PipelineSchema, | ||
2 | -- IR | 4 | -- IR |
3 | V2(..),V3(..),V4(..), | 5 | V2(..),V3(..),V4(..), |
4 | -- Array, Buffer, Texture | 6 | -- Array, Buffer, Texture |
@@ -9,7 +11,6 @@ module LambdaCube.GL ( | |||
9 | IndexStream(..), | 11 | IndexStream(..), |
10 | Stream(..), | 12 | Stream(..), |
11 | StreamSetter, | 13 | StreamSetter, |
12 | StreamType(..), | ||
13 | FetchPrimitive(..), | 14 | FetchPrimitive(..), |
14 | InputType(..), | 15 | InputType(..), |
15 | Primitive(..), | 16 | Primitive(..), |
@@ -20,20 +21,20 @@ module LambdaCube.GL ( | |||
20 | sizeOfArrayType, | 21 | sizeOfArrayType, |
21 | toStreamType, | 22 | toStreamType, |
22 | compileBuffer, | 23 | compileBuffer, |
24 | disposeBuffer, | ||
23 | updateBuffer, | 25 | updateBuffer, |
24 | bufferSize, | 26 | bufferSize, |
25 | arraySize, | 27 | arraySize, |
26 | arrayType, | 28 | arrayType, |
27 | uploadTexture2DToGPU, | 29 | uploadTexture2DToGPU, |
28 | uploadTexture2DToGPU', | 30 | uploadTexture2DToGPU', |
31 | disposeTexture, | ||
29 | 32 | ||
30 | -- GL: Renderer, Storage, Object | 33 | -- GL: Renderer, Storage, Object |
31 | GLUniformName, | 34 | GLUniformName, |
32 | GLRenderer, | 35 | GLRenderer, |
33 | GLStorage, | 36 | GLStorage, |
34 | Object, | 37 | Object, |
35 | PipelineSchema(..), | ||
36 | ObjectArraySchema(..), | ||
37 | schema, | 38 | schema, |
38 | schemaFromPipeline, | 39 | schemaFromPipeline, |
39 | allocRenderer, | 40 | allocRenderer, |
@@ -96,5 +97,7 @@ import LambdaCube.GL.Type | |||
96 | import LambdaCube.GL.Backend | 97 | import LambdaCube.GL.Backend |
97 | import LambdaCube.GL.Data | 98 | import LambdaCube.GL.Data |
98 | import LambdaCube.GL.Input | 99 | import LambdaCube.GL.Input |
99 | import IR | 100 | import LambdaCube.IR |
100 | import Linear | 101 | import LambdaCube.Linear |
102 | import LambdaCube.PipelineSchema | ||
103 | import LambdaCube.PipelineSchemaUtil | ||