mirror of
https://github.com/guilhermewerner/wgpu-renderer
synced 2025-06-16 13:54:21 +00:00
Create wgpu surface
This commit is contained in:
@ -7,13 +7,18 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
canvas {
|
||||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body id="wasm-example">
|
||||
<body id="wasm-surface">
|
||||
<script type="module">
|
||||
import init from "../package/renderer.js";
|
||||
|
||||
|
Reference in New Issue
Block a user