@thi.ng/webgl 6.4.5 → 6.4.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-05-11T12:16:33Z
3
+ - **Last updated**: 2023-06-09T12:24:57Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [6.4.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.6) (2023-06-09)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - fix arg types for defBuffer()/compileAttribPool() ([71a9e16](https://github.com/thi-ng/umbrella/commit/71a9e16))
17
+
12
18
  ## [6.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl@6.4.0) (2023-04-19)
13
19
 
14
20
  #### 🚀 Features
package/buffer.d.ts CHANGED
@@ -24,9 +24,9 @@ export declare class WebGLArrayBuffer<T extends TypedArray> implements IWebGLBuf
24
24
  set(data: T, mode?: number): void;
25
25
  setChunk(data: T, byteOffset?: number): void;
26
26
  }
27
- export declare const defBuffer: (gl: WebGLRenderingContext, data?: TypedArray, target?: 34962, mode?: 35044, retain?: boolean) => WebGLArrayBuffer<Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array>;
27
+ export declare const defBuffer: (gl: WebGLRenderingContext, data?: TypedArray, target?: GLenum, mode?: GLenum, retain?: boolean) => WebGLArrayBuffer<Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array>;
28
28
  export declare const compileModel: (gl: WebGLRenderingContext, spec: ModelSpec, mode?: 35044) => ModelSpec;
29
29
  export declare const compileIndices: (gl: WebGLRenderingContext, index: IndexBufferSpec | undefined, mode?: GLenum) => IndexBufferSpec | undefined;
30
30
  export declare const compileVAO: (gl: WebGLRenderingContext, spec: ModelSpec) => WebGLVertexArrayObject | undefined;
31
- export declare const compileAttribPool: (gl: WebGLRenderingContext, pool: AttribPool, ids?: string[], target?: 34962, mode?: 35044) => ModelAttributeSpecs;
31
+ export declare const compileAttribPool: (gl: WebGLRenderingContext, pool: AttribPool, ids?: string[], target?: GLenum, mode?: GLenum) => ModelAttributeSpecs;
32
32
  //# sourceMappingURL=buffer.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/webgl",
3
- "version": "6.4.5",
3
+ "version": "6.4.6",
4
4
  "description": "WebGL & GLSL abstraction layer",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -47,7 +47,7 @@
47
47
  "@thi.ng/logger": "^1.4.14",
48
48
  "@thi.ng/matrices": "^2.1.55",
49
49
  "@thi.ng/memoize": "^3.1.31",
50
- "@thi.ng/pixel": "^4.2.4",
50
+ "@thi.ng/pixel": "^4.2.5",
51
51
  "@thi.ng/shader-ast": "^0.12.52",
52
52
  "@thi.ng/shader-ast-glsl": "^0.4.52",
53
53
  "@thi.ng/shader-ast-stdlib": "^0.13.16",
@@ -219,5 +219,5 @@
219
219
  ],
220
220
  "year": 2014
221
221
  },
222
- "gitHead": "065e40c90123541fcb126b825a07f84975431fb6\n"
222
+ "gitHead": "31076ef846f8ddd076c7968aca8d6d5f5b9b9465\n"
223
223
  }