WebGPU 游戏项目初始化 - 添加基础配置文件和源代码

This commit is contained in:
SpecialX
2025-11-18 18:08:54 +08:00
commit 81a2b5c71e
7 changed files with 1226 additions and 0 deletions

15
index.html Normal file
View File

@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>webgpu-game</title>
</head>
<body>
<canvas id="canvas"
width="800px" height="600px"
style="border: black; border-width: 1px; border-style: solid;"></canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>