oria-webgpu 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.ko.md +175 -0
- package/README.md +179 -0
- package/dist/binding/bind-group-layout.d.ts +6 -0
- package/dist/binding/bind-group-layout.d.ts.map +1 -0
- package/dist/binding/bind-group.d.ts +26 -0
- package/dist/binding/bind-group.d.ts.map +1 -0
- package/dist/commands/command-encoder.d.ts +3 -0
- package/dist/commands/command-encoder.d.ts.map +1 -0
- package/dist/core/context.d.ts +8 -0
- package/dist/core/context.d.ts.map +1 -0
- package/dist/core/device.d.ts +7 -0
- package/dist/core/device.d.ts.map +1 -0
- package/dist/core/gpu.d.ts +3 -0
- package/dist/core/gpu.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +623 -0
- package/dist/index.js.map +1 -0
- package/dist/pass/compute-pass.d.ts +3 -0
- package/dist/pass/compute-pass.d.ts.map +1 -0
- package/dist/pass/render-pass.d.ts +3 -0
- package/dist/pass/render-pass.d.ts.map +1 -0
- package/dist/pipeline/compute-pipeline.d.ts +3 -0
- package/dist/pipeline/compute-pipeline.d.ts.map +1 -0
- package/dist/pipeline/pipeline-cache.d.ts +18 -0
- package/dist/pipeline/pipeline-cache.d.ts.map +1 -0
- package/dist/pipeline/render-pipeline.d.ts +3 -0
- package/dist/pipeline/render-pipeline.d.ts.map +1 -0
- package/dist/resources/buffer.d.ts +5 -0
- package/dist/resources/buffer.d.ts.map +1 -0
- package/dist/resources/readback.d.ts +10 -0
- package/dist/resources/readback.d.ts.map +1 -0
- package/dist/resources/sampler.d.ts +3 -0
- package/dist/resources/sampler.d.ts.map +1 -0
- package/dist/resources/texture.d.ts +4 -0
- package/dist/resources/texture.d.ts.map +1 -0
- package/dist/shader/reflection.d.ts +26 -0
- package/dist/shader/reflection.d.ts.map +1 -0
- package/dist/shader/shader.d.ts +10 -0
- package/dist/shader/shader.d.ts.map +1 -0
- package/dist/types/public.d.ts +211 -0
- package/dist/types/public.d.ts.map +1 -0
- package/dist/utils/alignment.d.ts +6 -0
- package/dist/utils/alignment.d.ts.map +1 -0
- package/dist/utils/hash.d.ts +11 -0
- package/dist/utils/hash.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +6 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/package.json +63 -0
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oria-webgpu",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A minimal, typed WebGPU wrapper for graphics and compute. Not a rendering engine.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.ko.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "vite build && tsc -p tsconfig.build.json",
|
|
22
|
+
"prepublishOnly": "npm run typecheck && npm run test && npm run build",
|
|
23
|
+
"dev": "vite",
|
|
24
|
+
"example:triangle": "vite examples/triangle",
|
|
25
|
+
"example:uniforms": "vite examples/uniforms",
|
|
26
|
+
"example:compute-vector-add": "vite examples/compute-vector-add",
|
|
27
|
+
"demo": "vite examples/demo",
|
|
28
|
+
"build:demo": "vite build examples/demo",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:watch": "vitest",
|
|
31
|
+
"typecheck": "tsc --noEmit"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"webgpu",
|
|
35
|
+
"wgsl",
|
|
36
|
+
"graphics",
|
|
37
|
+
"compute",
|
|
38
|
+
"typescript"
|
|
39
|
+
],
|
|
40
|
+
"author": {
|
|
41
|
+
"name": "cheonghakim",
|
|
42
|
+
"url": "https://github.com/cheonghakim"
|
|
43
|
+
},
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/cheonghakim/oria-webgpu.git"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://cheonghakim.github.io/oria-webgpu/",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/cheonghakim/oria-webgpu/issues"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=18"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@playwright/test": "^1.63.0",
|
|
58
|
+
"@webgpu/types": "^0.1.44",
|
|
59
|
+
"typescript": "^5.6.3",
|
|
60
|
+
"vite": "^5.4.11",
|
|
61
|
+
"vitest": "^2.1.8"
|
|
62
|
+
}
|
|
63
|
+
}
|