@solidrt/flux-types 0.0.47 → 0.0.48

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.
Files changed (2) hide show
  1. package/gui/gpu.d.ts +4 -1
  2. package/package.json +1 -1
package/gui/gpu.d.ts CHANGED
@@ -95,7 +95,10 @@ declare module "flux:gpu" {
95
95
  * Shader uniform values by name. A number drives a scalar uniform (`float`,
96
96
  * or `int`/`bool`, truncated); a flat number array drives a typed uniform
97
97
  * whose declared GLSL type sets the expected length: 2/3/4 for
98
- * `vec2`/`vec3`/`vec4`, 16 (column-major) for `mat4`. Dispatch follows the
98
+ * `vec2`/`vec3`/`vec4`, 16 (column-major) for `mat4`. An array uniform
99
+ * (`vec3 uLight[4]`) goes by its bare name and takes one flat array of
100
+ * element length times array size (12 here; a light list or palette is one
101
+ * write). Dispatch follows the
99
102
  * shader's own declaration, and every write is validated against it at the
100
103
  * call site: a name with no active uniform, a value whose length does not
101
104
  * fit the declared type, a `sampler2D` named here (samplers bind via
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidrt/flux-types",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "license": "MIT",
5
5
  "author": "Antoine van Wel",
6
6
  "types": "index.d.ts",