1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

WIP: rust WebGL rendering

This commit is contained in:
Emil Ernerfeldt
2019-01-04 14:14:32 +01:00
parent bfa20be28e
commit a1ddef742d
22 changed files with 1346 additions and 202 deletions

View File

@@ -8,10 +8,24 @@ edition = "2018"
crate-type = ["cdylib", "rlib"]
[dependencies]
js-sys = "0.3"
lazy_static = "1"
serde = "1"
serde_json = "1"
wasm-bindgen = "0.2"
# web-sys = { version = "0.3.5", features = ['console', 'Performance', 'Window'] }
emgui = { path = "../emgui" }
[dependencies.web-sys]
version = "0.3"
features = [
'Document',
'Element',
'HtmlCanvasElement',
'WebGlBuffer',
'WebGlProgram',
'WebGlRenderingContext',
'WebGlShader',
'WebGlUniformLocation',
'Window',
]