fragmentcolor 0.10.7 → 0.10.9

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.
@@ -95,6 +95,7 @@ export class CanvasTarget {
95
95
  resize(size: any): void;
96
96
  size(): Size;
97
97
  getImage(): Uint8Array;
98
+ readonly __fc_kind: string;
98
99
  }
99
100
  /**
100
101
  * Can be specified as 0xRRGGBBAA
@@ -108,6 +109,7 @@ export class Frame {
108
109
  free(): void;
109
110
  constructor();
110
111
  addPass(pass: Pass): void;
112
+ readonly __fc_kind: string;
111
113
  }
112
114
  export class Instance {
113
115
  private constructor();
@@ -124,6 +126,7 @@ export class Mesh {
124
126
  clearInstances(): void;
125
127
  setInstanceCount(n: number): void;
126
128
  clearInstanceCount(): void;
129
+ readonly __fc_kind: string;
127
130
  }
128
131
  export class Pass {
129
132
  free(): void;
@@ -142,6 +145,7 @@ export class Pass {
142
145
  addTarget(target: any): void;
143
146
  addDepthTarget(target: any): void;
144
147
  isCompute(): boolean;
148
+ readonly __fc_kind: string;
145
149
  }
146
150
  export class PassInput {
147
151
  private constructor();
@@ -182,6 +186,7 @@ export class Renderer {
182
186
  createStorageTexture(size: any, format: TextureFormat, usage?: number | null): Promise<Texture>;
183
187
  createDepthTexture(size: any): Promise<Texture>;
184
188
  render(renderable: any, target: any): void;
189
+ readonly __fc_kind: string;
185
190
  }
186
191
  export class SamplerOptions {
187
192
  private constructor();
@@ -210,6 +215,7 @@ export class Shader {
210
215
  isCompute(): boolean;
211
216
  unwrap(): Shader;
212
217
  static default(): Shader;
218
+ readonly __fc_kind: string;
213
219
  }
214
220
  export class Size {
215
221
  private constructor();
@@ -225,6 +231,7 @@ export class Texture {
225
231
  size(): Size;
226
232
  aspect(): number;
227
233
  setSamplerOptions(options: any): void;
234
+ readonly __fc_kind: string;
228
235
  }
229
236
  export class TextureId {
230
237
  private constructor();
@@ -245,6 +252,7 @@ export class TextureTarget {
245
252
  resize(size: any): void;
246
253
  size(): Size;
247
254
  getImage(): Promise<Uint8Array>;
255
+ readonly __fc_kind: string;
248
256
  }
249
257
  export class Vertex {
250
258
  free(): void;
@@ -296,39 +304,18 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
296
304
  export interface InitOutput {
297
305
  readonly memory: WebAssembly.Memory;
298
306
  readonly __wbg_renderer_free: (a: number, b: number) => void;
299
- readonly shader_new_js: (a: number, b: number) => number;
300
- readonly shader_fetch: (a: number, b: number) => any;
301
- readonly shader_fromVertex: (a: number) => number;
302
- readonly shader_fromMesh: (a: number) => number;
303
- readonly shader_set: (a: number, b: number, c: number, d: any) => [number, number];
304
- readonly shader_get: (a: number, b: number, c: number) => [number, number, number];
305
- readonly shader_listUniforms: (a: number) => [number, number];
306
- readonly shader_listKeys: (a: number) => [number, number];
307
- readonly shader_addMesh: (a: number, b: number) => [number, number];
308
- readonly shader_removeMesh: (a: number, b: number) => void;
309
- readonly shader_removeMeshes: (a: number, b: any) => [number, number];
310
- readonly shader_clearMeshes: (a: number) => void;
311
- readonly shader_validateMesh: (a: number, b: number) => [number, number];
312
- readonly shader_isCompute: (a: number) => number;
313
- readonly shader_unwrap: (a: number) => number;
314
- readonly shader_default: () => number;
315
- readonly pass_new_js: (a: number, b: number) => number;
316
- readonly pass_compute: (a: number, b: number) => number;
317
- readonly pass_fromShader: (a: number, b: number, c: number) => number;
318
- readonly pass_require: (a: number, b: any) => [number, number];
319
- readonly pass_loadPrevious: (a: number) => void;
320
- readonly pass_getInput: (a: number) => number;
321
- readonly pass_addShader: (a: number, b: number) => void;
322
- readonly pass_addMesh: (a: number, b: number) => [number, number];
323
- readonly pass_addMeshToShader: (a: number, b: number, c: number) => [number, number];
324
- readonly pass_setClearColor: (a: number, b: any) => [number, number];
325
- readonly pass_setComputeDispatch: (a: number, b: number, c: number, d: number) => void;
326
- readonly pass_setViewport: (a: number, b: any) => [number, number];
327
- readonly pass_addTarget: (a: number, b: any) => [number, number];
328
- readonly pass_addDepthTarget: (a: number, b: any) => [number, number];
329
- readonly pass_isCompute: (a: number) => number;
330
- readonly __wbg_mesh_free: (a: number, b: number) => void;
307
+ readonly renderer___fc_kind: (a: number) => [number, number];
308
+ readonly __wbg_shader_free: (a: number, b: number) => void;
309
+ readonly shader___fc_kind: (a: number) => [number, number];
310
+ readonly __wbg_passinput_free: (a: number, b: number) => void;
311
+ readonly __wbg_pass_free: (a: number, b: number) => void;
312
+ readonly pass___fc_kind: (a: number) => [number, number];
313
+ readonly __wbg_frame_free: (a: number, b: number) => void;
314
+ readonly frame___fc_kind: (a: number) => [number, number];
315
+ readonly wasm_start: () => void;
316
+ readonly set_log_level: (a: number, b: number) => void;
331
317
  readonly __wbg_texturetarget_free: (a: number, b: number) => void;
318
+ readonly texturetarget___fc_kind: (a: number) => [number, number];
332
319
  readonly texture_size: (a: number) => number;
333
320
  readonly texture_aspect: (a: number) => number;
334
321
  readonly texture_setSamplerOptions: (a: number, b: any) => [number, number];
@@ -336,19 +323,19 @@ export interface InitOutput {
336
323
  readonly __wbg_get_textureid_0: (a: number) => bigint;
337
324
  readonly __wbg_set_textureid_0: (a: number, b: bigint) => void;
338
325
  readonly __wbg_texture_free: (a: number, b: number) => void;
339
- readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
340
- readonly __wbg_get_sampleroptions_repeat_x: (a: number) => number;
341
- readonly __wbg_set_sampleroptions_repeat_x: (a: number, b: number) => void;
342
- readonly __wbg_get_sampleroptions_repeat_y: (a: number) => number;
343
- readonly __wbg_set_sampleroptions_repeat_y: (a: number, b: number) => void;
344
- readonly __wbg_get_sampleroptions_smooth: (a: number) => number;
345
- readonly __wbg_set_sampleroptions_smooth: (a: number, b: number) => void;
346
- readonly __wbg_get_sampleroptions_compare: (a: number) => number;
347
- readonly __wbg_set_sampleroptions_compare: (a: number, b: number) => void;
348
- readonly __wbg_color_free: (a: number, b: number) => void;
349
- readonly __wbg_get_color_0: (a: number) => number;
350
- readonly __wbg_set_color_0: (a: number, b: number) => void;
326
+ readonly texture___fc_kind: (a: number) => [number, number];
327
+ readonly renderer_new_js: () => number;
328
+ readonly renderer_createTarget: (a: number, b: any) => any;
329
+ readonly renderer_createTexture: (a: number, b: any) => any;
330
+ readonly renderer_createTextureWithSize: (a: number, b: any, c: any) => any;
331
+ readonly renderer_createTextureTarget: (a: number, b: any) => any;
332
+ readonly renderer_createTextureWithFormat: (a: number, b: any, c: number) => any;
333
+ readonly renderer_createTextureWith: (a: number, b: any, c: any) => any;
334
+ readonly renderer_createStorageTexture: (a: number, b: any, c: number, d: number) => any;
335
+ readonly renderer_createDepthTexture: (a: number, b: any) => any;
336
+ readonly renderer_render: (a: number, b: any, c: any) => [number, number];
351
337
  readonly __wbg_canvastarget_free: (a: number, b: number) => void;
338
+ readonly canvastarget___fc_kind: (a: number) => [number, number];
352
339
  readonly canvastarget_resize: (a: number, b: any) => [number, number];
353
340
  readonly canvastarget_size: (a: number) => number;
354
341
  readonly canvastarget_getImage: (a: number) => [number, number, number];
@@ -380,28 +367,15 @@ export interface InitOutput {
380
367
  readonly quad_new_js: (a: any, b: any) => [number, number, number];
381
368
  readonly quad_getMesh: (a: number) => number;
382
369
  readonly vertex_new_js: (a: any) => [number, number, number];
383
- readonly renderer_new_js: () => number;
384
- readonly renderer_createTarget: (a: number, b: any) => any;
385
- readonly renderer_createTexture: (a: number, b: any) => any;
386
- readonly renderer_createTextureWithSize: (a: number, b: any, c: any) => any;
387
- readonly renderer_createTextureTarget: (a: number, b: any) => any;
388
- readonly renderer_createTextureWithFormat: (a: number, b: any, c: number) => any;
389
- readonly renderer_createTextureWith: (a: number, b: any, c: any) => any;
390
- readonly renderer_createStorageTexture: (a: number, b: any, c: number, d: number) => any;
391
- readonly renderer_createDepthTexture: (a: number, b: any) => any;
392
- readonly renderer_render: (a: number, b: any, c: any) => [number, number];
393
- readonly __wbg_region_free: (a: number, b: number) => void;
394
- readonly __wbg_get_region_min_x: (a: number) => number;
395
- readonly __wbg_set_region_min_x: (a: number, b: number) => void;
396
- readonly __wbg_get_region_min_y: (a: number) => number;
397
- readonly __wbg_set_region_min_y: (a: number, b: number) => void;
398
- readonly __wbg_get_region_max_x: (a: number) => number;
399
- readonly __wbg_set_region_max_x: (a: number, b: number) => void;
400
- readonly __wbg_get_region_max_y: (a: number) => number;
401
- readonly __wbg_set_region_max_y: (a: number, b: number) => void;
402
- readonly wasm_start: () => void;
403
- readonly set_log_level: (a: number, b: number) => void;
404
- readonly __wbg_shader_free: (a: number, b: number) => void;
370
+ readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
371
+ readonly __wbg_get_sampleroptions_repeat_x: (a: number) => number;
372
+ readonly __wbg_set_sampleroptions_repeat_x: (a: number, b: number) => void;
373
+ readonly __wbg_get_sampleroptions_repeat_y: (a: number) => number;
374
+ readonly __wbg_set_sampleroptions_repeat_y: (a: number, b: number) => void;
375
+ readonly __wbg_get_sampleroptions_smooth: (a: number) => number;
376
+ readonly __wbg_set_sampleroptions_smooth: (a: number, b: number) => void;
377
+ readonly __wbg_get_sampleroptions_compare: (a: number) => number;
378
+ readonly __wbg_set_sampleroptions_compare: (a: number, b: number) => void;
405
379
  readonly __wbg_size_free: (a: number, b: number) => void;
406
380
  readonly __wbg_get_size_width: (a: number) => number;
407
381
  readonly __wbg_set_size_width: (a: number, b: number) => void;
@@ -409,11 +383,53 @@ export interface InitOutput {
409
383
  readonly __wbg_set_size_height: (a: number, b: number) => void;
410
384
  readonly __wbg_get_size_depth: (a: number) => number;
411
385
  readonly __wbg_set_size_depth: (a: number, b: number) => void;
412
- readonly __wbg_passinput_free: (a: number, b: number) => void;
413
- readonly __wbg_pass_free: (a: number, b: number) => void;
386
+ readonly __wbg_color_free: (a: number, b: number) => void;
387
+ readonly __wbg_get_color_0: (a: number) => number;
388
+ readonly __wbg_set_color_0: (a: number, b: number) => void;
389
+ readonly shader_new_js: (a: number, b: number) => number;
390
+ readonly shader_fetch: (a: number, b: number) => any;
391
+ readonly shader_fromVertex: (a: number) => number;
392
+ readonly shader_fromMesh: (a: number) => number;
393
+ readonly shader_set: (a: number, b: number, c: number, d: any) => [number, number];
394
+ readonly shader_get: (a: number, b: number, c: number) => [number, number, number];
395
+ readonly shader_listUniforms: (a: number) => [number, number];
396
+ readonly shader_listKeys: (a: number) => [number, number];
397
+ readonly shader_addMesh: (a: number, b: number) => [number, number];
398
+ readonly shader_removeMesh: (a: number, b: number) => void;
399
+ readonly shader_removeMeshes: (a: number, b: any) => [number, number];
400
+ readonly shader_clearMeshes: (a: number) => void;
401
+ readonly shader_validateMesh: (a: number, b: number) => [number, number];
402
+ readonly shader_isCompute: (a: number) => number;
403
+ readonly shader_unwrap: (a: number) => number;
404
+ readonly shader_default: () => number;
405
+ readonly pass_new_js: (a: number, b: number) => number;
406
+ readonly pass_compute: (a: number, b: number) => number;
407
+ readonly pass_fromShader: (a: number, b: number, c: number) => number;
408
+ readonly pass_require: (a: number, b: any) => [number, number];
409
+ readonly pass_loadPrevious: (a: number) => void;
410
+ readonly pass_getInput: (a: number) => number;
411
+ readonly pass_addShader: (a: number, b: number) => void;
412
+ readonly pass_addMesh: (a: number, b: number) => [number, number];
413
+ readonly pass_addMeshToShader: (a: number, b: number, c: number) => [number, number];
414
+ readonly pass_setClearColor: (a: number, b: any) => [number, number];
415
+ readonly pass_setComputeDispatch: (a: number, b: number, c: number, d: number) => void;
416
+ readonly pass_setViewport: (a: number, b: any) => [number, number];
417
+ readonly pass_addTarget: (a: number, b: any) => [number, number];
418
+ readonly pass_addDepthTarget: (a: number, b: any) => [number, number];
419
+ readonly pass_isCompute: (a: number) => number;
420
+ readonly __wbg_mesh_free: (a: number, b: number) => void;
421
+ readonly mesh___fc_kind: (a: number) => [number, number];
414
422
  readonly frame_new_js: () => number;
415
423
  readonly frame_addPass: (a: number, b: number) => void;
416
- readonly __wbg_frame_free: (a: number, b: number) => void;
424
+ readonly __wbg_region_free: (a: number, b: number) => void;
425
+ readonly __wbg_get_region_min_x: (a: number) => number;
426
+ readonly __wbg_set_region_min_x: (a: number, b: number) => void;
427
+ readonly __wbg_get_region_min_y: (a: number) => number;
428
+ readonly __wbg_set_region_min_y: (a: number, b: number) => void;
429
+ readonly __wbg_get_region_max_x: (a: number) => number;
430
+ readonly __wbg_set_region_max_x: (a: number, b: number) => void;
431
+ readonly __wbg_get_region_max_y: (a: number) => number;
432
+ readonly __wbg_set_region_max_y: (a: number, b: number) => void;
417
433
  readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
418
434
  readonly wasmbindgentestcontext_new: () => number;
419
435
  readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
@@ -434,10 +450,10 @@ export interface InitOutput {
434
450
  readonly __wbindgen_export_6: WebAssembly.Table;
435
451
  readonly __externref_table_dealloc: (a: number) => void;
436
452
  readonly __externref_drop_slice: (a: number, b: number) => void;
437
- readonly closure1146_externref_shim: (a: number, b: number, c: any) => void;
438
- readonly closure1295_externref_shim: (a: number, b: number, c: any) => void;
439
- readonly closure3394_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
440
- readonly closure3398_externref_shim: (a: number, b: number, c: any, d: any) => void;
453
+ readonly closure1149_externref_shim: (a: number, b: number, c: any) => void;
454
+ readonly closure1298_externref_shim: (a: number, b: number, c: any) => void;
455
+ readonly closure3397_externref_shim: (a: number, b: number, c: any, d: number, e: any) => void;
456
+ readonly closure3401_externref_shim: (a: number, b: number, c: any, d: any) => void;
441
457
  readonly __wbindgen_start: () => void;
442
458
  }
443
459
 
package/fragmentcolor.js CHANGED
@@ -246,11 +246,22 @@ function debugString(val) {
246
246
  // TODO we could test for more things here, like `Set`s and `Map`s.
247
247
  return className;
248
248
  }
249
+ /**
250
+ * Install a panic hook and console logger when running in WASM so browser console shows
251
+ * readable errors instead of a generic "unreachable" trap.
252
+ */
253
+ export function wasm_start() {
254
+ wasm.wasm_start();
255
+ }
249
256
 
250
- function _assertClass(instance, klass) {
251
- if (!(instance instanceof klass)) {
252
- throw new Error(`expected instance of ${klass.name}`);
253
- }
257
+ /**
258
+ * Allow raising/lowering log level at runtime from JS (e.g., for verbose healthchecks)
259
+ * @param {string} level
260
+ */
261
+ export function set_log_level(level) {
262
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
263
+ const len0 = WASM_VECTOR_LEN;
264
+ wasm.set_log_level(ptr0, len0);
254
265
  }
255
266
 
256
267
  function takeFromExternrefTable0(idx) {
@@ -259,6 +270,12 @@ function takeFromExternrefTable0(idx) {
259
270
  return value;
260
271
  }
261
272
 
273
+ function _assertClass(instance, klass) {
274
+ if (!(instance instanceof klass)) {
275
+ throw new Error(`expected instance of ${klass.name}`);
276
+ }
277
+ }
278
+
262
279
  function getArrayJsValueFromWasm0(ptr, len) {
263
280
  ptr = ptr >>> 0;
264
281
  const mem = getDataViewMemory0();
@@ -269,23 +286,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
269
286
  wasm.__externref_drop_slice(ptr, len);
270
287
  return result;
271
288
  }
272
- /**
273
- * Install a panic hook and console logger when running in WASM so browser console shows
274
- * readable errors instead of a generic "unreachable" trap.
275
- */
276
- export function wasm_start() {
277
- wasm.wasm_start();
278
- }
279
-
280
- /**
281
- * Allow raising/lowering log level at runtime from JS (e.g., for verbose healthchecks)
282
- * @param {string} level
283
- */
284
- export function set_log_level(level) {
285
- const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
286
- const len0 = WASM_VECTOR_LEN;
287
- wasm.set_log_level(ptr0, len0);
288
- }
289
289
 
290
290
  function getArrayU8FromWasm0(ptr, len) {
291
291
  ptr = ptr >>> 0;
@@ -359,19 +359,19 @@ export function __wbgtest_console_error(args) {
359
359
  }
360
360
 
361
361
  function __wbg_adapter_36(arg0, arg1, arg2) {
362
- wasm.closure1146_externref_shim(arg0, arg1, arg2);
362
+ wasm.closure1149_externref_shim(arg0, arg1, arg2);
363
363
  }
364
364
 
365
365
  function __wbg_adapter_39(arg0, arg1, arg2) {
366
- wasm.closure1295_externref_shim(arg0, arg1, arg2);
366
+ wasm.closure1298_externref_shim(arg0, arg1, arg2);
367
367
  }
368
368
 
369
- function __wbg_adapter_1267(arg0, arg1, arg2, arg3, arg4) {
370
- wasm.closure3394_externref_shim(arg0, arg1, arg2, arg3, arg4);
369
+ function __wbg_adapter_1275(arg0, arg1, arg2, arg3, arg4) {
370
+ wasm.closure3397_externref_shim(arg0, arg1, arg2, arg3, arg4);
371
371
  }
372
372
 
373
- function __wbg_adapter_1298(arg0, arg1, arg2, arg3) {
374
- wasm.closure3398_externref_shim(arg0, arg1, arg2, arg3);
373
+ function __wbg_adapter_1306(arg0, arg1, arg2, arg3) {
374
+ wasm.closure3401_externref_shim(arg0, arg1, arg2, arg3);
375
375
  }
376
376
 
377
377
  /**
@@ -512,6 +512,21 @@ export class CanvasTarget {
512
512
  const ptr = this.__destroy_into_raw();
513
513
  wasm.__wbg_canvastarget_free(ptr, 0);
514
514
  }
515
+ /**
516
+ * @returns {string}
517
+ */
518
+ get __fc_kind() {
519
+ let deferred1_0;
520
+ let deferred1_1;
521
+ try {
522
+ const ret = wasm.canvastarget___fc_kind(this.__wbg_ptr);
523
+ deferred1_0 = ret[0];
524
+ deferred1_1 = ret[1];
525
+ return getStringFromWasm0(ret[0], ret[1]);
526
+ } finally {
527
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
528
+ }
529
+ }
515
530
  /**
516
531
  * @param {any} size
517
532
  */
@@ -591,6 +606,21 @@ export class Frame {
591
606
  const ptr = this.__destroy_into_raw();
592
607
  wasm.__wbg_frame_free(ptr, 0);
593
608
  }
609
+ /**
610
+ * @returns {string}
611
+ */
612
+ get __fc_kind() {
613
+ let deferred1_0;
614
+ let deferred1_1;
615
+ try {
616
+ const ret = wasm.frame___fc_kind(this.__wbg_ptr);
617
+ deferred1_0 = ret[0];
618
+ deferred1_1 = ret[1];
619
+ return getStringFromWasm0(ret[0], ret[1]);
620
+ } finally {
621
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
622
+ }
623
+ }
594
624
  constructor() {
595
625
  const ret = wasm.frame_new_js();
596
626
  this.__wbg_ptr = ret >>> 0;
@@ -723,6 +753,21 @@ export class Mesh {
723
753
  clearInstanceCount() {
724
754
  wasm.mesh_clearInstanceCount(this.__wbg_ptr);
725
755
  }
756
+ /**
757
+ * @returns {string}
758
+ */
759
+ get __fc_kind() {
760
+ let deferred1_0;
761
+ let deferred1_1;
762
+ try {
763
+ const ret = wasm.mesh___fc_kind(this.__wbg_ptr);
764
+ deferred1_0 = ret[0];
765
+ deferred1_1 = ret[1];
766
+ return getStringFromWasm0(ret[0], ret[1]);
767
+ } finally {
768
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
769
+ }
770
+ }
726
771
  }
727
772
 
728
773
  const PassFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -750,6 +795,21 @@ export class Pass {
750
795
  const ptr = this.__destroy_into_raw();
751
796
  wasm.__wbg_pass_free(ptr, 0);
752
797
  }
798
+ /**
799
+ * @returns {string}
800
+ */
801
+ get __fc_kind() {
802
+ let deferred1_0;
803
+ let deferred1_1;
804
+ try {
805
+ const ret = wasm.pass___fc_kind(this.__wbg_ptr);
806
+ deferred1_0 = ret[0];
807
+ deferred1_1 = ret[1];
808
+ return getStringFromWasm0(ret[0], ret[1]);
809
+ } finally {
810
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
811
+ }
812
+ }
753
813
  /**
754
814
  * @param {string} name
755
815
  */
@@ -1040,6 +1100,21 @@ export class Renderer {
1040
1100
  const ptr = this.__destroy_into_raw();
1041
1101
  wasm.__wbg_renderer_free(ptr, 0);
1042
1102
  }
1103
+ /**
1104
+ * @returns {string}
1105
+ */
1106
+ get __fc_kind() {
1107
+ let deferred1_0;
1108
+ let deferred1_1;
1109
+ try {
1110
+ const ret = wasm.renderer___fc_kind(this.__wbg_ptr);
1111
+ deferred1_0 = ret[0];
1112
+ deferred1_1 = ret[1];
1113
+ return getStringFromWasm0(ret[0], ret[1]);
1114
+ } finally {
1115
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1116
+ }
1117
+ }
1043
1118
  constructor() {
1044
1119
  const ret = wasm.renderer_new_js();
1045
1120
  this.__wbg_ptr = ret >>> 0;
@@ -1236,6 +1311,21 @@ export class Shader {
1236
1311
  const ptr = this.__destroy_into_raw();
1237
1312
  wasm.__wbg_shader_free(ptr, 0);
1238
1313
  }
1314
+ /**
1315
+ * @returns {string}
1316
+ */
1317
+ get __fc_kind() {
1318
+ let deferred1_0;
1319
+ let deferred1_1;
1320
+ try {
1321
+ const ret = wasm.shader___fc_kind(this.__wbg_ptr);
1322
+ deferred1_0 = ret[0];
1323
+ deferred1_1 = ret[1];
1324
+ return getStringFromWasm0(ret[0], ret[1]);
1325
+ } finally {
1326
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1327
+ }
1328
+ }
1239
1329
  /**
1240
1330
  * @param {string} source
1241
1331
  */
@@ -1494,6 +1584,21 @@ export class Texture {
1494
1584
  throw takeFromExternrefTable0(ret[0]);
1495
1585
  }
1496
1586
  }
1587
+ /**
1588
+ * @returns {string}
1589
+ */
1590
+ get __fc_kind() {
1591
+ let deferred1_0;
1592
+ let deferred1_1;
1593
+ try {
1594
+ const ret = wasm.texture___fc_kind(this.__wbg_ptr);
1595
+ deferred1_0 = ret[0];
1596
+ deferred1_1 = ret[1];
1597
+ return getStringFromWasm0(ret[0], ret[1]);
1598
+ } finally {
1599
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1600
+ }
1601
+ }
1497
1602
  }
1498
1603
 
1499
1604
  const TextureIdFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1618,6 +1723,21 @@ export class TextureTarget {
1618
1723
  const ptr = this.__destroy_into_raw();
1619
1724
  wasm.__wbg_texturetarget_free(ptr, 0);
1620
1725
  }
1726
+ /**
1727
+ * @returns {string}
1728
+ */
1729
+ get __fc_kind() {
1730
+ let deferred1_0;
1731
+ let deferred1_1;
1732
+ try {
1733
+ const ret = wasm.texturetarget___fc_kind(this.__wbg_ptr);
1734
+ deferred1_0 = ret[0];
1735
+ deferred1_1 = ret[1];
1736
+ return getStringFromWasm0(ret[0], ret[1]);
1737
+ } finally {
1738
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1739
+ }
1740
+ }
1621
1741
  /**
1622
1742
  * @param {any} size
1623
1743
  */
@@ -2377,7 +2497,7 @@ function __wbg_get_imports() {
2377
2497
  const a = state0.a;
2378
2498
  state0.a = 0;
2379
2499
  try {
2380
- return __wbg_adapter_1267(a, state0.b, arg0, arg1, arg2);
2500
+ return __wbg_adapter_1275(a, state0.b, arg0, arg1, arg2);
2381
2501
  } finally {
2382
2502
  state0.a = a;
2383
2503
  }
@@ -2987,7 +3107,7 @@ function __wbg_get_imports() {
2987
3107
  const a = state0.a;
2988
3108
  state0.a = 0;
2989
3109
  try {
2990
- return __wbg_adapter_1298(a, state0.b, arg0, arg1);
3110
+ return __wbg_adapter_1306(a, state0.b, arg0, arg1);
2991
3111
  } finally {
2992
3112
  state0.a = a;
2993
3113
  }
@@ -4156,12 +4276,12 @@ function __wbg_get_imports() {
4156
4276
  const ret = false;
4157
4277
  return ret;
4158
4278
  };
4159
- imports.wbg.__wbindgen_closure_wrapper3137 = function(arg0, arg1, arg2) {
4160
- const ret = makeMutClosure(arg0, arg1, 1147, __wbg_adapter_36);
4279
+ imports.wbg.__wbindgen_closure_wrapper3145 = function(arg0, arg1, arg2) {
4280
+ const ret = makeMutClosure(arg0, arg1, 1150, __wbg_adapter_36);
4161
4281
  return ret;
4162
4282
  };
4163
- imports.wbg.__wbindgen_closure_wrapper3630 = function(arg0, arg1, arg2) {
4164
- const ret = makeMutClosure(arg0, arg1, 1296, __wbg_adapter_39);
4283
+ imports.wbg.__wbindgen_closure_wrapper3638 = function(arg0, arg1, arg2) {
4284
+ const ret = makeMutClosure(arg0, arg1, 1299, __wbg_adapter_39);
4165
4285
  return ret;
4166
4286
  };
4167
4287
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Vista Tech & Art GmbH"
6
6
  ],
7
7
  "description": "Easy GPU Rendering for Javascript, Python, Swift and Kotlin",
8
- "version": "0.10.7",
8
+ "version": "0.10.9",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",