summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration_wgpu/index.html')
-rw-r--r--examples/integration_wgpu/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/integration_wgpu/index.html b/examples/integration_wgpu/index.html
new file mode 100644
index 00000000..461e67a4
--- /dev/null
+++ b/examples/integration_wgpu/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <title>Iced - wgpu + WebGL integration</title>
+ </head>
+ <body>
+ <h1>integration_wgpu</h1>
+ <canvas id="iced_canvas"></canvas>
+ <script type="module">
+ import init from "./integration_wgpu.js";
+ init('./integration_wgpu_bg.wasm');
+ </script>
+ <style>
+ body {
+ width: 100%;
+ text-align: center;
+ }
+ </style>
+ </body>
+</html>