1module Graphics.WebGL (makeGL, linkProgram, linkModel, webgl) where
11import Graphics.Element (Element)
12import Native.Graphics.WebGL
14data GLContext = Fake_Context
16makeGL : Int -> Int -> Signal GLContext
17makeGL = Native.Graphics.WebGL.makeGL
19data GLShader declarations = Fake_GLShader
20data GLProgram attributes = Fake_Program
22linkProgram : GLShader { attribute : a, uniform : u, varying : v } -> GLShader { attribute : {}, uniform : {}, varying : v } -> GLContext -> GLProgram { attribute : a, uniform : u }
23linkProgram = Native.Graphics.WebGL.linkProgram
25data GLModel = Fake_Model
27linkModel : (GLProgram { attribute : a, uniform : u }) -> u -> [a] -> GLModel
28linkModel = Native.Graphics.WebGL.linkModel
30webgl : GLContext -> [GLModel] -> Element
31webgl = Native.Graphics.WebGL.webgl
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list