summaryrefslogtreecommitdiff
path: root/GPURing.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2019-06-19 02:28:58 -0400
committerJoe Crayne <joe@jerkface.net>2019-06-19 02:28:58 -0400
commit5024860293943ad598d4d89331bdc1615a862d25 (patch)
treedef28134dd1b9e20d2189d6a6f71067d43df9bbc /GPURing.hs
parent4e615656484dfe4347b0a2ccbdf38c2e609162df (diff)
Load mesh in background.
Diffstat (limited to 'GPURing.hs')
-rw-r--r--GPURing.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/GPURing.hs b/GPURing.hs
index 904c551..a315349 100644
--- a/GPURing.hs
+++ b/GPURing.hs
@@ -20,9 +20,6 @@ import LambdaCube.GL.Input.Type
20import LambdaCube.GL.Input hiding (createObjectCommands) 20import LambdaCube.GL.Input hiding (createObjectCommands)
21 21
22 22
23-- | Typical usage:
24--
25-- > ringBuffer <- newRing capacity (VectorRing.new capacity)
26type Update keys = (keys -> Writer [DSum AttributeKey GLUniformValue] ()) 23type Update keys = (keys -> Writer [DSum AttributeKey GLUniformValue] ())
27 24
28new :: Data keys => Primitive -> String -> GLStorage -> (String -> String) -> Int -> IO (TargetBuffer (Update keys)) 25new :: Data keys => Primitive -> String -> GLStorage -> (String -> String) -> Int -> IO (TargetBuffer (Update keys))