mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-10 01:10:28 +00:00
24 lines
501 B
HTML
24 lines
501 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>WASM Resource Management Demo</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="wasm-example">
|
|
|
|
</div>
|
|
|
|
<script type="module">
|
|
import init from "./pkg/tutorial10_lighting.js";
|
|
init().then(() => {
|
|
console.log("WASM Loaded");
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |