@thi.ng/webgl 6.9.78 → 6.9.83
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/package.json +230 -230
- package/CHANGELOG.md +0 -146
package/package.json
CHANGED
|
@@ -1,231 +1,231 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
2
|
+
"name": "@thi.ng/webgl",
|
|
3
|
+
"version": "6.9.83",
|
|
4
|
+
"description": "WebGL & GLSL abstraction layer",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/webgl",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"contributors": [
|
|
30
|
+
"@nkint (https://github.com/nkint)",
|
|
31
|
+
"@stwind (https://github.com/stwind)"
|
|
32
|
+
],
|
|
33
|
+
"license": "Apache-2.0",
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
36
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
37
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
38
|
+
"clean": "bun ../../tools/src/clean-package.ts geo shaders textures",
|
|
39
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
40
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
41
|
+
"pub": "npm publish --access public",
|
|
42
|
+
"test": "bun test",
|
|
43
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@thi.ng/api": "^8.12.6",
|
|
47
|
+
"@thi.ng/canvas": "^1.0.27",
|
|
48
|
+
"@thi.ng/checks": "^3.7.22",
|
|
49
|
+
"@thi.ng/equiv": "^2.1.96",
|
|
50
|
+
"@thi.ng/errors": "^2.5.46",
|
|
51
|
+
"@thi.ng/logger": "^3.2.5",
|
|
52
|
+
"@thi.ng/matrices": "^3.0.25",
|
|
53
|
+
"@thi.ng/memoize": "^4.0.30",
|
|
54
|
+
"@thi.ng/object-utils": "^1.2.14",
|
|
55
|
+
"@thi.ng/pixel": "^7.5.14",
|
|
56
|
+
"@thi.ng/shader-ast": "^1.1.27",
|
|
57
|
+
"@thi.ng/shader-ast-glsl": "^1.0.46",
|
|
58
|
+
"@thi.ng/shader-ast-stdlib": "^1.0.46",
|
|
59
|
+
"@thi.ng/transducers": "^9.6.14",
|
|
60
|
+
"@thi.ng/vector-pools": "^3.2.75",
|
|
61
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"esbuild": "^0.25.11",
|
|
65
|
+
"typedoc": "^0.28.14",
|
|
66
|
+
"typescript": "^5.9.3"
|
|
67
|
+
},
|
|
68
|
+
"keywords": [
|
|
69
|
+
"2d",
|
|
70
|
+
"3d",
|
|
71
|
+
"animation",
|
|
72
|
+
"blend",
|
|
73
|
+
"browser",
|
|
74
|
+
"buffer",
|
|
75
|
+
"canvas",
|
|
76
|
+
"datastructure",
|
|
77
|
+
"declarative",
|
|
78
|
+
"fbo",
|
|
79
|
+
"glsl",
|
|
80
|
+
"gpgpu",
|
|
81
|
+
"graphics",
|
|
82
|
+
"multipass",
|
|
83
|
+
"pipeline",
|
|
84
|
+
"shader",
|
|
85
|
+
"shader-ast",
|
|
86
|
+
"texture",
|
|
87
|
+
"typedarray",
|
|
88
|
+
"typescript",
|
|
89
|
+
"webgl"
|
|
90
|
+
],
|
|
91
|
+
"publishConfig": {
|
|
92
|
+
"access": "public"
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"node": ">=18"
|
|
96
|
+
},
|
|
97
|
+
"files": [
|
|
98
|
+
"./*.js",
|
|
99
|
+
"./*.d.ts",
|
|
100
|
+
"api",
|
|
101
|
+
"geo",
|
|
102
|
+
"shaders",
|
|
103
|
+
"textures"
|
|
104
|
+
],
|
|
105
|
+
"exports": {
|
|
106
|
+
".": {
|
|
107
|
+
"default": "./index.js"
|
|
108
|
+
},
|
|
109
|
+
"./api/blend": {
|
|
110
|
+
"default": "./api/blend.js"
|
|
111
|
+
},
|
|
112
|
+
"./api/buffers": {
|
|
113
|
+
"default": "./api/buffers.js"
|
|
114
|
+
},
|
|
115
|
+
"./api/canvas": {
|
|
116
|
+
"default": "./api/canvas.js"
|
|
117
|
+
},
|
|
118
|
+
"./api/ext": {
|
|
119
|
+
"default": "./api/ext.js"
|
|
120
|
+
},
|
|
121
|
+
"./api/glsl": {
|
|
122
|
+
"default": "./api/glsl.js"
|
|
123
|
+
},
|
|
124
|
+
"./api/material": {
|
|
125
|
+
"default": "./api/material.js"
|
|
126
|
+
},
|
|
127
|
+
"./api/model": {
|
|
128
|
+
"default": "./api/model.js"
|
|
129
|
+
},
|
|
130
|
+
"./api/multipass": {
|
|
131
|
+
"default": "./api/multipass.js"
|
|
132
|
+
},
|
|
133
|
+
"./api/shader": {
|
|
134
|
+
"default": "./api/shader.js"
|
|
135
|
+
},
|
|
136
|
+
"./api/stencil": {
|
|
137
|
+
"default": "./api/stencil.js"
|
|
138
|
+
},
|
|
139
|
+
"./api/texture": {
|
|
140
|
+
"default": "./api/texture.js"
|
|
141
|
+
},
|
|
142
|
+
"./buffer": {
|
|
143
|
+
"default": "./buffer.js"
|
|
144
|
+
},
|
|
145
|
+
"./canvas": {
|
|
146
|
+
"default": "./canvas.js"
|
|
147
|
+
},
|
|
148
|
+
"./checks": {
|
|
149
|
+
"default": "./checks.js"
|
|
150
|
+
},
|
|
151
|
+
"./draw": {
|
|
152
|
+
"default": "./draw.js"
|
|
153
|
+
},
|
|
154
|
+
"./error": {
|
|
155
|
+
"default": "./error.js"
|
|
156
|
+
},
|
|
157
|
+
"./fbo": {
|
|
158
|
+
"default": "./fbo.js"
|
|
159
|
+
},
|
|
160
|
+
"./geo/cube": {
|
|
161
|
+
"default": "./geo/cube.js"
|
|
162
|
+
},
|
|
163
|
+
"./geo/quad": {
|
|
164
|
+
"default": "./geo/quad.js"
|
|
165
|
+
},
|
|
166
|
+
"./logger": {
|
|
167
|
+
"default": "./logger.js"
|
|
168
|
+
},
|
|
169
|
+
"./material": {
|
|
170
|
+
"default": "./material.js"
|
|
171
|
+
},
|
|
172
|
+
"./matrices": {
|
|
173
|
+
"default": "./matrices.js"
|
|
174
|
+
},
|
|
175
|
+
"./multipass": {
|
|
176
|
+
"default": "./multipass.js"
|
|
177
|
+
},
|
|
178
|
+
"./rbo": {
|
|
179
|
+
"default": "./rbo.js"
|
|
180
|
+
},
|
|
181
|
+
"./readpixels": {
|
|
182
|
+
"default": "./readpixels.js"
|
|
183
|
+
},
|
|
184
|
+
"./shader": {
|
|
185
|
+
"default": "./shader.js"
|
|
186
|
+
},
|
|
187
|
+
"./shaders/lambert": {
|
|
188
|
+
"default": "./shaders/lambert.js"
|
|
189
|
+
},
|
|
190
|
+
"./shaders/phong": {
|
|
191
|
+
"default": "./shaders/phong.js"
|
|
192
|
+
},
|
|
193
|
+
"./shaders/pipeline": {
|
|
194
|
+
"default": "./shaders/pipeline.js"
|
|
195
|
+
},
|
|
196
|
+
"./syntax": {
|
|
197
|
+
"default": "./syntax.js"
|
|
198
|
+
},
|
|
199
|
+
"./texture": {
|
|
200
|
+
"default": "./texture.js"
|
|
201
|
+
},
|
|
202
|
+
"./textures/checkerboard": {
|
|
203
|
+
"default": "./textures/checkerboard.js"
|
|
204
|
+
},
|
|
205
|
+
"./textures/stripes": {
|
|
206
|
+
"default": "./textures/stripes.js"
|
|
207
|
+
},
|
|
208
|
+
"./uniforms": {
|
|
209
|
+
"default": "./uniforms.js"
|
|
210
|
+
},
|
|
211
|
+
"./utils": {
|
|
212
|
+
"default": "./utils.js"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"thi.ng": {
|
|
216
|
+
"alias": "gl",
|
|
217
|
+
"related": [
|
|
218
|
+
"ecs",
|
|
219
|
+
"geom",
|
|
220
|
+
"imgui",
|
|
221
|
+
"matrices",
|
|
222
|
+
"shader-ast",
|
|
223
|
+
"soa",
|
|
224
|
+
"vectors",
|
|
225
|
+
"vector-pools",
|
|
226
|
+
"wasm-api-webgl"
|
|
227
|
+
],
|
|
228
|
+
"year": 2014
|
|
229
|
+
},
|
|
230
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
231
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [6.9.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.9.30) (2025-01-14)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
|
|
19
|
-
|
|
20
|
-
## [6.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.9.0) (2024-06-21)
|
|
21
|
-
|
|
22
|
-
#### 🚀 Features
|
|
23
|
-
|
|
24
|
-
- add UncompiledModelSpec, update compileModel() ([95be119](https://github.com/thi-ng/umbrella/commit/95be119))
|
|
25
|
-
- update WebGLCanvasOpts, switch to WebGL v2 by default ([6bb029e](https://github.com/thi-ng/umbrella/commit/6bb029e))
|
|
26
|
-
- add docs
|
|
27
|
-
- add `ModelSpec.instancePool` ([c4d695f](https://github.com/thi-ng/umbrella/commit/c4d695f))
|
|
28
|
-
- add new `instancePool` option to specify instance attribs via AttribPool
|
|
29
|
-
- update `compileModel()` to support new option
|
|
30
|
-
|
|
31
|
-
#### ♻️ Refactoring
|
|
32
|
-
|
|
33
|
-
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
|
|
34
|
-
|
|
35
|
-
### [6.8.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.8.12) (2024-04-20)
|
|
36
|
-
|
|
37
|
-
#### ♻️ Refactoring
|
|
38
|
-
|
|
39
|
-
- update type usage ([f584c7c](https://github.com/thi-ng/umbrella/commit/f584c7c))
|
|
40
|
-
|
|
41
|
-
## [6.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.8.0) (2024-03-09)
|
|
42
|
-
|
|
43
|
-
#### 🚀 Features
|
|
44
|
-
|
|
45
|
-
- add passCopyMain() multipass spec utility ([ba22536](https://github.com/thi-ng/umbrella/commit/ba22536))
|
|
46
|
-
|
|
47
|
-
#### 🩹 Bug fixes
|
|
48
|
-
|
|
49
|
-
- update readPixels() args ([458e7ff](https://github.com/thi-ng/umbrella/commit/458e7ff))
|
|
50
|
-
|
|
51
|
-
## [6.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.7.0) (2024-03-06)
|
|
52
|
-
|
|
53
|
-
#### 🚀 Features
|
|
54
|
-
|
|
55
|
-
- update shader prelude, add sampler3D default precision ([73d7818](https://github.com/thi-ng/umbrella/commit/73d7818))
|
|
56
|
-
- add `precision lowp sampler3D` to prelude (WebGL2 only)
|
|
57
|
-
- update defMultipass(), add sampler3D support ([3f924cf](https://github.com/thi-ng/umbrella/commit/3f924cf))
|
|
58
|
-
- update texture & shader init
|
|
59
|
-
- update MultipassOpts
|
|
60
|
-
|
|
61
|
-
### [6.6.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.32) (2024-02-22)
|
|
62
|
-
|
|
63
|
-
#### ♻️ Refactoring
|
|
64
|
-
|
|
65
|
-
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
66
|
-
|
|
67
|
-
### [6.6.28](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.28) (2024-02-16)
|
|
68
|
-
|
|
69
|
-
#### ♻️ Refactoring
|
|
70
|
-
|
|
71
|
-
- update LOGGER handling ([744ebed](https://github.com/thi-ng/umbrella/commit/744ebed))
|
|
72
|
-
|
|
73
|
-
### [6.6.26](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.26) (2024-02-06)
|
|
74
|
-
|
|
75
|
-
#### ♻️ Refactoring
|
|
76
|
-
|
|
77
|
-
- use shader type consts ([e9f8c4c](https://github.com/thi-ng/umbrella/commit/e9f8c4c))
|
|
78
|
-
|
|
79
|
-
### [6.6.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.6) (2023-11-09)
|
|
80
|
-
|
|
81
|
-
#### ♻️ Refactoring
|
|
82
|
-
|
|
83
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
84
|
-
|
|
85
|
-
## [6.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.6.0) (2023-10-25)
|
|
86
|
-
|
|
87
|
-
#### 🚀 Features
|
|
88
|
-
|
|
89
|
-
- update DefShaderOpts & defShader() ([800318f](https://github.com/thi-ng/umbrella/commit/800318f))
|
|
90
|
-
- add `logger` option to use temp. logger for compiled GLSL output
|
|
91
|
-
|
|
92
|
-
## [6.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.5.0) (2023-09-19)
|
|
93
|
-
|
|
94
|
-
#### 🚀 Features
|
|
95
|
-
|
|
96
|
-
- update clearCanvas(), add defaultViewport() ([a7b47a2](https://github.com/thi-ng/umbrella/commit/a7b47a2))
|
|
97
|
-
|
|
98
|
-
### [6.4.20](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.20) (2023-08-31)
|
|
99
|
-
|
|
100
|
-
#### ♻️ Refactoring
|
|
101
|
-
|
|
102
|
-
- update PassUniforms ([e79ae16](https://github.com/thi-ng/umbrella/commit/e79ae16))
|
|
103
|
-
- allow `resolution` uniform to also be ivec2/uvec2
|
|
104
|
-
|
|
105
|
-
### [6.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.6) (2023-06-09)
|
|
106
|
-
|
|
107
|
-
#### 🩹 Bug fixes
|
|
108
|
-
|
|
109
|
-
- fix arg types for defBuffer()/compileAttribPool() ([71a9e16](https://github.com/thi-ng/umbrella/commit/71a9e16))
|
|
110
|
-
|
|
111
|
-
## [6.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.0) (2023-04-19)
|
|
112
|
-
|
|
113
|
-
#### 🚀 Features
|
|
114
|
-
|
|
115
|
-
- add retain option to ModelAttributeSpec/IndexBufferSpec ([3db4463](https://github.com/thi-ng/umbrella/commit/3db4463))
|
|
116
|
-
- update defBuffer()/initBuffer()
|
|
117
|
-
- add clearCanvas() ([ad362f9](https://github.com/thi-ng/umbrella/commit/ad362f9))
|
|
118
|
-
- update glCanvas() return type ([4af5e04](https://github.com/thi-ng/umbrella/commit/4af5e04))
|
|
119
|
-
- add `resize` handler to result which can later be called to
|
|
120
|
-
resize the canvas (with DPR) and update the GL viewport
|
|
121
|
-
|
|
122
|
-
## [6.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.3.0) (2023-02-05)
|
|
123
|
-
|
|
124
|
-
#### 🚀 Features
|
|
125
|
-
|
|
126
|
-
- add Shader.withState() ([8a7a427](https://github.com/thi-ng/umbrella/commit/8a7a427))
|
|
127
|
-
- update WebGLArrayBuffer/IWebGLBuffer ([c1890ce](https://github.com/thi-ng/umbrella/commit/c1890ce))
|
|
128
|
-
- add optional `retain` ctor arg to retain handle to
|
|
129
|
-
- add .update() method
|
|
130
|
-
- update IWebGLBuffer interface
|
|
131
|
-
|
|
132
|
-
## [6.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.2.0) (2022-08-08)
|
|
133
|
-
|
|
134
|
-
#### 🚀 Features
|
|
135
|
-
|
|
136
|
-
- add more extensions to WebGLExtensionMap ([dd2e295](https://github.com/thi-ng/umbrella/commit/dd2e295))
|
|
137
|
-
- update Multipass ([5f51d26](https://github.com/thi-ng/umbrella/commit/5f51d26))
|
|
138
|
-
- auto-enable EXT_float_blend extension for float outputs
|
|
139
|
-
(this silences warnings on Firefox, Chrome seemed fine)
|
|
140
|
-
- add Multipass.singlePass() to selectively execute single shader passes
|
|
141
|
-
|
|
142
|
-
### [6.1.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.1.22) (2022-08-08)
|
|
143
|
-
|
|
144
|
-
#### 🩹 Bug fixes
|
|
145
|
-
|
|
146
|
-
- add missing type exports ([6b1501e](https://github.com/thi-ng/umbrella/commit/6b1501e))
|