fragmentcolor 0.12.7 → 0.12.8
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/fragmentcolor.d.ts +294 -227
- package/fragmentcolor.js +744 -315
- package/fragmentcolor_bg.wasm +0 -0
- package/package.json +1 -1
package/fragmentcolor.d.ts
CHANGED
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* How the renderer
|
|
5
|
+
* How the renderer treats the alpha channel a shader writes.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* the same semantics:
|
|
7
|
+
* The values follow glTF 2.0's `alphaMode` (`OPAQUE`, `MASK`, `BLEND`):
|
|
9
8
|
*
|
|
10
9
|
* - `Opaque`: depth-test on, blending off. Alpha bits go to the framebuffer
|
|
11
10
|
* but the blend equation ignores them. Cheapest path; the only one where
|
|
12
11
|
* the depth buffer fully describes the geometry.
|
|
13
|
-
* - `Mask`:
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* - `Mask`: the opaque pipeline, with the cut-out left to the fragment shader.
|
|
13
|
+
* The built-in materials `discard` a fragment whose alpha falls below
|
|
14
|
+
* `material.alpha_cutoff`. Hard-edged cut-out; perf profile matches opaque.
|
|
16
15
|
* - `Blend`: depth-test on but depth-write **off**, color target uses
|
|
17
16
|
* standard `SrcAlpha / OneMinusSrcAlpha` over-blend. The renderer sorts
|
|
18
17
|
* Models with this mode back-to-front by eye-space Z before drawing,
|
|
@@ -26,8 +25,7 @@ export enum AlphaMode {
|
|
|
26
25
|
*/
|
|
27
26
|
Opaque = 0,
|
|
28
27
|
/**
|
|
29
|
-
* Depth-test on, blending off, fragment
|
|
30
|
-
* `material.base_color.a < material.alpha_cutoff`.
|
|
28
|
+
* Depth-test on, blending off, and the fragment shader discards the cut-out.
|
|
31
29
|
*/
|
|
32
30
|
Mask = 1,
|
|
33
31
|
/**
|
|
@@ -210,30 +208,14 @@ export enum LogLevel {
|
|
|
210
208
|
Trace = 5,
|
|
211
209
|
}
|
|
212
210
|
|
|
213
|
-
export class
|
|
211
|
+
export class MaterialMap {
|
|
214
212
|
private constructor();
|
|
215
213
|
free(): void;
|
|
216
214
|
[Symbol.dispose](): void;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
static custom(shader: Shader): Material;
|
|
222
|
-
doubleSided(value: boolean): Material;
|
|
223
|
-
emissive(factor: number[] | Float32Array): Material;
|
|
224
|
-
emissiveTexture(input: any, options?: any | null): Material;
|
|
225
|
-
metallic(value: number): Material;
|
|
226
|
-
metallicRoughnessTexture(input: any, options?: any | null): Material;
|
|
227
|
-
normalScale(value: number): Material;
|
|
228
|
-
normalTexture(input: any, options?: any | null): Material;
|
|
229
|
-
occlusionStrength(value: number): Material;
|
|
230
|
-
occlusionTexture(input: any, options?: any | null): Material;
|
|
231
|
-
static pbr(): Material;
|
|
232
|
-
roughness(value: number): Material;
|
|
233
|
-
shader(): Shader;
|
|
234
|
-
textureTransform(slot: TextureSlot, offset: number[] | Float32Array, scale: number[] | Float32Array, rotation: number): Material;
|
|
235
|
-
textureUv(slot: TextureSlot, set: number): Material;
|
|
236
|
-
uvTransform(offset: number[] | Float32Array, scale: number[] | Float32Array, rotation: number): Material;
|
|
215
|
+
__fc_share(): MaterialMap;
|
|
216
|
+
texture(input: any, options?: any | null): MaterialMap;
|
|
217
|
+
transform(offset: number[] | Float32Array, scale: number[] | Float32Array, rotation: number): MaterialMap;
|
|
218
|
+
uv(set: number): MaterialMap;
|
|
237
219
|
readonly __fc_kind: string;
|
|
238
220
|
}
|
|
239
221
|
|
|
@@ -242,12 +224,12 @@ export class Mesh {
|
|
|
242
224
|
[Symbol.dispose](): void;
|
|
243
225
|
__fc_share(): Mesh;
|
|
244
226
|
addInstance(item: any): void;
|
|
245
|
-
addInstances(
|
|
227
|
+
addInstances(items: any): void;
|
|
246
228
|
addVertex(vertex: any): void;
|
|
247
|
-
addVertices(
|
|
229
|
+
addVertices(vertices: any): void;
|
|
248
230
|
clearIndices(): void;
|
|
249
231
|
clearInstances(): void;
|
|
250
|
-
static fromVertices(
|
|
232
|
+
static fromVertices(vertices: any): Mesh;
|
|
251
233
|
constructor();
|
|
252
234
|
setIndices(indices: ArrayLike<number>): void;
|
|
253
235
|
setInstanceCount(count: number): void;
|
|
@@ -277,7 +259,7 @@ export class Mipmap {
|
|
|
277
259
|
*
|
|
278
260
|
* `size` accepts the same shapes the rest of the JS API does:
|
|
279
261
|
* `[w, h]`, `[w, h, d]`, a typed array, or a `Size` object. See
|
|
280
|
-
* `Size::
|
|
262
|
+
* `Size::read` for the full list. Forcing callers to
|
|
281
263
|
* construct a wasm-bindgen `Size` instance (which has no JS-side
|
|
282
264
|
* constructor anyway) would break parity with `createStorageTexture`,
|
|
283
265
|
* `createTextureTarget`, and friends.
|
|
@@ -300,9 +282,9 @@ export class Model {
|
|
|
300
282
|
free(): void;
|
|
301
283
|
[Symbol.dispose](): void;
|
|
302
284
|
__fc_share(): Model;
|
|
303
|
-
material():
|
|
285
|
+
material(): PbrMaterial | UnlitMaterial | ToonMaterial | Shader;
|
|
304
286
|
mesh(): Mesh;
|
|
305
|
-
constructor(mesh: Mesh, material:
|
|
287
|
+
constructor(mesh: Mesh, material: PbrMaterial | UnlitMaterial | ToonMaterial | Shader);
|
|
306
288
|
rotate(axis: number[] | Float32Array, radians: number): void;
|
|
307
289
|
scale(factor: number[] | Float32Array): void;
|
|
308
290
|
setTransform(matrix: number[] | Float32Array | (number[] | Float32Array)[]): void;
|
|
@@ -339,6 +321,30 @@ export class Pass {
|
|
|
339
321
|
readonly __fc_kind: string;
|
|
340
322
|
}
|
|
341
323
|
|
|
324
|
+
export class PbrMaterial {
|
|
325
|
+
free(): void;
|
|
326
|
+
[Symbol.dispose](): void;
|
|
327
|
+
__fc_share(): PbrMaterial;
|
|
328
|
+
alphaCutoff(value: number): PbrMaterial;
|
|
329
|
+
alphaMode(mode: AlphaMode): PbrMaterial;
|
|
330
|
+
baseColor(color: number[] | Float32Array): PbrMaterial;
|
|
331
|
+
baseColorMap(): MaterialMap;
|
|
332
|
+
doubleSided(value: boolean): PbrMaterial;
|
|
333
|
+
emissive(factor: number[] | Float32Array): PbrMaterial;
|
|
334
|
+
emissiveMap(): MaterialMap;
|
|
335
|
+
metallic(value: number): PbrMaterial;
|
|
336
|
+
metallicRoughnessMap(): MaterialMap;
|
|
337
|
+
constructor();
|
|
338
|
+
normalMap(): MaterialMap;
|
|
339
|
+
normalScale(value: number): PbrMaterial;
|
|
340
|
+
occlusionMap(): MaterialMap;
|
|
341
|
+
occlusionStrength(value: number): PbrMaterial;
|
|
342
|
+
roughness(value: number): PbrMaterial;
|
|
343
|
+
shader(): Shader;
|
|
344
|
+
uvTransform(offset: number[] | Float32Array, scale: number[] | Float32Array, rotation: number): PbrMaterial;
|
|
345
|
+
readonly __fc_kind: string;
|
|
346
|
+
}
|
|
347
|
+
|
|
342
348
|
export class Quad {
|
|
343
349
|
free(): void;
|
|
344
350
|
[Symbol.dispose](): void;
|
|
@@ -373,6 +379,20 @@ export class Renderer {
|
|
|
373
379
|
readonly __fc_kind: string;
|
|
374
380
|
}
|
|
375
381
|
|
|
382
|
+
/**
|
|
383
|
+
* A shader's sampler slot, as `Shader::get` reads it back.
|
|
384
|
+
*/
|
|
385
|
+
export class SamplerInfo {
|
|
386
|
+
private constructor();
|
|
387
|
+
free(): void;
|
|
388
|
+
[Symbol.dispose](): void;
|
|
389
|
+
/**
|
|
390
|
+
* Whether the slot is a `sampler_comparison`, which compares depth.
|
|
391
|
+
*/
|
|
392
|
+
readonly comparison: boolean;
|
|
393
|
+
readonly __fc_kind: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
376
396
|
export class SamplerOptions {
|
|
377
397
|
free(): void;
|
|
378
398
|
[Symbol.dispose](): void;
|
|
@@ -380,6 +400,7 @@ export class SamplerOptions {
|
|
|
380
400
|
* Each option left out keeps its default: no repeat, smooth, no compare.
|
|
381
401
|
*/
|
|
382
402
|
constructor(repeat_x?: boolean | null, repeat_y?: boolean | null, smooth?: boolean | null, compare?: CompareFunction | null);
|
|
403
|
+
readonly __fc_kind: string;
|
|
383
404
|
get compare(): CompareFunction | undefined;
|
|
384
405
|
/**
|
|
385
406
|
* `undefined` or `null` clears the compare function, and any other value
|
|
@@ -389,11 +410,11 @@ export class SamplerOptions {
|
|
|
389
410
|
/**
|
|
390
411
|
* A value that isn't a boolean throws a `TypeError` and keeps the old one.
|
|
391
412
|
*/
|
|
392
|
-
|
|
413
|
+
repeatX: boolean;
|
|
393
414
|
/**
|
|
394
415
|
* A value that isn't a boolean throws a `TypeError` and keeps the old one.
|
|
395
416
|
*/
|
|
396
|
-
|
|
417
|
+
repeatY: boolean;
|
|
397
418
|
/**
|
|
398
419
|
* A value that isn't a boolean throws a `TypeError` and keeps the old one.
|
|
399
420
|
*/
|
|
@@ -464,8 +485,10 @@ export class Shader {
|
|
|
464
485
|
[Symbol.dispose](): void;
|
|
465
486
|
__fc_share(): Shader;
|
|
466
487
|
addMesh(mesh: Mesh): void;
|
|
488
|
+
alphaMode(mode: AlphaMode): Shader;
|
|
467
489
|
clearMeshes(): void;
|
|
468
490
|
static default(): Shader;
|
|
491
|
+
doubleSided(value: boolean): Shader;
|
|
469
492
|
static fetch(input: any): Promise<Shader>;
|
|
470
493
|
static fromMesh(mesh: Mesh): Shader;
|
|
471
494
|
static fromVertex(vertex: Vertex): Shader;
|
|
@@ -595,29 +618,6 @@ export class TextureOptions {
|
|
|
595
618
|
set usage(value: number | null | undefined);
|
|
596
619
|
}
|
|
597
620
|
|
|
598
|
-
export enum TextureSlot {
|
|
599
|
-
/**
|
|
600
|
-
* The base color map, set by `base_color_texture`.
|
|
601
|
-
*/
|
|
602
|
-
BaseColor = 0,
|
|
603
|
-
/**
|
|
604
|
-
* The metallic-roughness map, set by `metallic_roughness_texture`.
|
|
605
|
-
*/
|
|
606
|
-
MetallicRoughness = 1,
|
|
607
|
-
/**
|
|
608
|
-
* The normal map, set by `normal_texture`.
|
|
609
|
-
*/
|
|
610
|
-
Normal = 2,
|
|
611
|
-
/**
|
|
612
|
-
* The occlusion map, set by `occlusion_texture`.
|
|
613
|
-
*/
|
|
614
|
-
Occlusion = 3,
|
|
615
|
-
/**
|
|
616
|
-
* The emissive map, set by `emissive_texture`.
|
|
617
|
-
*/
|
|
618
|
-
Emissive = 4,
|
|
619
|
-
}
|
|
620
|
-
|
|
621
621
|
export class TextureTarget {
|
|
622
622
|
private constructor();
|
|
623
623
|
free(): void;
|
|
@@ -646,6 +646,40 @@ export class TextureUsage {
|
|
|
646
646
|
static readonly TEXTURE_BINDING: number;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
+
export class ToonMaterial {
|
|
650
|
+
free(): void;
|
|
651
|
+
[Symbol.dispose](): void;
|
|
652
|
+
__fc_share(): ToonMaterial;
|
|
653
|
+
alphaCutoff(value: number): ToonMaterial;
|
|
654
|
+
alphaMode(mode: AlphaMode): ToonMaterial;
|
|
655
|
+
bands(count: number): ToonMaterial;
|
|
656
|
+
baseColor(color: number[] | Float32Array): ToonMaterial;
|
|
657
|
+
baseColorMap(): MaterialMap;
|
|
658
|
+
doubleSided(value: boolean): ToonMaterial;
|
|
659
|
+
highlight(color: number[] | Float32Array): ToonMaterial;
|
|
660
|
+
highlightSize(value: number): ToonMaterial;
|
|
661
|
+
constructor();
|
|
662
|
+
rampMap(): MaterialMap;
|
|
663
|
+
rim(color: number[] | Float32Array): ToonMaterial;
|
|
664
|
+
rimWidth(value: number): ToonMaterial;
|
|
665
|
+
shader(): Shader;
|
|
666
|
+
readonly __fc_kind: string;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export class UnlitMaterial {
|
|
670
|
+
free(): void;
|
|
671
|
+
[Symbol.dispose](): void;
|
|
672
|
+
__fc_share(): UnlitMaterial;
|
|
673
|
+
alphaCutoff(value: number): UnlitMaterial;
|
|
674
|
+
alphaMode(mode: AlphaMode): UnlitMaterial;
|
|
675
|
+
baseColor(color: number[] | Float32Array): UnlitMaterial;
|
|
676
|
+
baseColorMap(): MaterialMap;
|
|
677
|
+
doubleSided(value: boolean): UnlitMaterial;
|
|
678
|
+
constructor();
|
|
679
|
+
shader(): Shader;
|
|
680
|
+
readonly __fc_kind: string;
|
|
681
|
+
}
|
|
682
|
+
|
|
649
683
|
export class Vertex {
|
|
650
684
|
free(): void;
|
|
651
685
|
[Symbol.dispose](): void;
|
|
@@ -666,7 +700,6 @@ export class Vertex {
|
|
|
666
700
|
|
|
667
701
|
/**
|
|
668
702
|
* The window target on the web, exported to JS as `WindowTarget`.
|
|
669
|
-
* `CanvasTarget` stays available in JS as an alias of the same class.
|
|
670
703
|
*/
|
|
671
704
|
export class WindowTarget {
|
|
672
705
|
private constructor();
|
|
@@ -689,31 +722,64 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
689
722
|
|
|
690
723
|
export interface InitOutput {
|
|
691
724
|
readonly memory: WebAssembly.Memory;
|
|
692
|
-
readonly
|
|
725
|
+
readonly __wbg_texturetarget_free: (a: number, b: number) => void;
|
|
726
|
+
readonly texturetarget___fc_kind: (a: number) => [number, number];
|
|
693
727
|
readonly __wbg_instance_free: (a: number, b: number) => void;
|
|
694
|
-
readonly
|
|
695
|
-
readonly
|
|
728
|
+
readonly __wbg_light_free: (a: number, b: number) => void;
|
|
729
|
+
readonly __wbg_pass_free: (a: number, b: number) => void;
|
|
730
|
+
readonly __wbg_size_free: (a: number, b: number) => void;
|
|
696
731
|
readonly instance___fc_kind: (a: number) => [number, number];
|
|
697
|
-
readonly
|
|
698
|
-
readonly
|
|
699
|
-
readonly
|
|
700
|
-
readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
732
|
+
readonly light___fc_kind: (a: number) => [number, number];
|
|
733
|
+
readonly mipmap_build: (a: any, b: any, c: number) => [number, number, number];
|
|
734
|
+
readonly mipmap_count: (a: number) => number;
|
|
735
|
+
readonly mipmap_format: (a: number) => number;
|
|
736
|
+
readonly mipmap_level: (a: number, b: any) => [number, number, number];
|
|
737
|
+
readonly mipmap_levels: (a: number) => any;
|
|
738
|
+
readonly mipmap_size: (a: number) => number;
|
|
739
|
+
readonly pass___fc_kind: (a: number) => [number, number];
|
|
740
|
+
readonly pass___fc_share: (a: number) => number;
|
|
741
|
+
readonly size___fc_kind: (a: number) => [number, number];
|
|
742
|
+
readonly size_depth_js: (a: number) => number;
|
|
743
|
+
readonly size_height_js: (a: number) => number;
|
|
744
|
+
readonly size_new_js: (a: any, b: any, c: number) => [number, number, number];
|
|
745
|
+
readonly size_set_depth_js: (a: number, b: number) => [number, number];
|
|
746
|
+
readonly size_set_height_js: (a: number, b: any) => [number, number];
|
|
747
|
+
readonly size_set_width_js: (a: number, b: any) => [number, number];
|
|
748
|
+
readonly size_width_js: (a: number) => number;
|
|
749
|
+
readonly texture_aspect: (a: number) => number;
|
|
750
|
+
readonly texture_getImage: (a: number) => any;
|
|
751
|
+
readonly texture_id: (a: number) => number;
|
|
752
|
+
readonly texture_resize: (a: number, b: any) => [number, number];
|
|
753
|
+
readonly texture_setSamplerOptions: (a: number, b: any) => [number, number];
|
|
754
|
+
readonly texture_size: (a: number) => number;
|
|
755
|
+
readonly texture_write: (a: number, b: any) => [number, number];
|
|
756
|
+
readonly texture_writeRegion: (a: number, b: any, c: any) => [number, number];
|
|
757
|
+
readonly __wbg_color_free: (a: number, b: number) => void;
|
|
758
|
+
readonly __wbg_get_textureusage_bits: (a: number) => number;
|
|
759
|
+
readonly __wbg_textureusage_free: (a: number, b: number) => void;
|
|
705
760
|
readonly textureusage_copy_dst_js: () => number;
|
|
706
761
|
readonly textureusage_copy_src_js: () => number;
|
|
707
762
|
readonly textureusage_render_attachment_js: () => number;
|
|
708
763
|
readonly textureusage_storage_binding_js: () => number;
|
|
709
764
|
readonly textureusage_texture_binding_js: () => number;
|
|
710
|
-
readonly __wbg_shader_free: (a: number, b: number) => void;
|
|
711
|
-
readonly shader___fc_kind: (a: number) => [number, number];
|
|
712
|
-
readonly shader___fc_share: (a: number) => number;
|
|
713
765
|
readonly __wbg_mipmap_free: (a: number, b: number) => void;
|
|
714
766
|
readonly mipmap___fc_kind: (a: number) => [number, number];
|
|
715
767
|
readonly mipmap___fc_share: (a: number) => number;
|
|
716
|
-
readonly
|
|
768
|
+
readonly renderer_createDepthTexture: (a: number, b: any) => any;
|
|
769
|
+
readonly renderer_createStorageTexture: (a: number, b: any, c: any, d: number, e: number) => any;
|
|
770
|
+
readonly renderer_createTarget: (a: number, b: any) => any;
|
|
771
|
+
readonly renderer_createTexture: (a: number, b: any, c: number) => any;
|
|
772
|
+
readonly renderer_createTextureTarget: (a: number, b: any) => any;
|
|
773
|
+
readonly renderer_load: (a: number, b: any) => any;
|
|
774
|
+
readonly renderer_new_js: () => number;
|
|
775
|
+
readonly renderer_readStorage: (a: number, b: any, c: any) => any;
|
|
776
|
+
readonly renderer_readTexture: (a: number, b: any) => any;
|
|
777
|
+
readonly renderer_render: (a: number, b: any, c: any) => [number, number];
|
|
778
|
+
readonly renderer_setLogLevel: (a: any) => [number, number];
|
|
779
|
+
readonly renderer_unregisterTexture: (a: number, b: any) => [number, number];
|
|
780
|
+
readonly __wbg_camera_free: (a: number, b: number) => void;
|
|
781
|
+
readonly __wbg_model_free: (a: number, b: number) => void;
|
|
782
|
+
readonly camera___fc_kind: (a: number) => [number, number];
|
|
717
783
|
readonly camera___fc_share: (a: number) => number;
|
|
718
784
|
readonly camera_lookAt: (a: number, b: any, c: any, d: any) => [number, number, number];
|
|
719
785
|
readonly camera_orthographic: (a: any, b: any, c: any, d: any, e: any, f: any) => [number, number, number];
|
|
@@ -721,9 +787,6 @@ export interface InitOutput {
|
|
|
721
787
|
readonly camera_position: (a: number) => [number, number];
|
|
722
788
|
readonly camera_setAspect: (a: number, b: any) => [number, number, number];
|
|
723
789
|
readonly camera_viewProj: (a: number) => [number, number];
|
|
724
|
-
readonly instance___fc_share: (a: number) => number;
|
|
725
|
-
readonly instance_new: () => number;
|
|
726
|
-
readonly instance_set: (a: number, b: any, c: any) => [number, number, number];
|
|
727
790
|
readonly light___fc_share: (a: number) => number;
|
|
728
791
|
readonly light_color: (a: number) => [number, number];
|
|
729
792
|
readonly light_direction: (a: number) => [number, number];
|
|
@@ -742,41 +805,14 @@ export interface InitOutput {
|
|
|
742
805
|
readonly light_setPosition: (a: number, b: any) => [number, number, number];
|
|
743
806
|
readonly light_setRange: (a: number, b: any) => [number, number, number];
|
|
744
807
|
readonly light_spot: (a: any, b: any, c: any) => [number, number, number];
|
|
745
|
-
readonly
|
|
746
|
-
readonly
|
|
747
|
-
readonly
|
|
748
|
-
readonly
|
|
749
|
-
readonly material_custom: (a: number) => number;
|
|
750
|
-
readonly material_doubleSided: (a: number, b: any) => [number, number, number];
|
|
751
|
-
readonly material_emissive: (a: number, b: any) => [number, number, number];
|
|
752
|
-
readonly material_emissiveTexture: (a: number, b: any, c: number) => [number, number, number];
|
|
753
|
-
readonly material_metallic: (a: number, b: any) => [number, number, number];
|
|
754
|
-
readonly material_metallicRoughnessTexture: (a: number, b: any, c: number) => [number, number, number];
|
|
755
|
-
readonly material_normalScale: (a: number, b: any) => [number, number, number];
|
|
756
|
-
readonly material_normalTexture: (a: number, b: any, c: number) => [number, number, number];
|
|
757
|
-
readonly material_occlusionStrength: (a: number, b: any) => [number, number, number];
|
|
758
|
-
readonly material_occlusionTexture: (a: number, b: any, c: number) => [number, number, number];
|
|
759
|
-
readonly material_pbr: () => number;
|
|
760
|
-
readonly material_roughness: (a: number, b: any) => [number, number, number];
|
|
761
|
-
readonly material_shader: (a: number) => number;
|
|
762
|
-
readonly material_textureTransform: (a: number, b: any, c: any, d: any, e: any) => [number, number, number];
|
|
763
|
-
readonly material_textureUv: (a: number, b: any, c: any) => [number, number, number];
|
|
764
|
-
readonly material_uvTransform: (a: number, b: any, c: any, d: any) => [number, number, number];
|
|
765
|
-
readonly mesh___fc_share: (a: number) => number;
|
|
766
|
-
readonly mesh_addInstance: (a: number, b: any) => [number, number];
|
|
767
|
-
readonly mesh_addInstances: (a: number, b: any) => [number, number];
|
|
768
|
-
readonly mesh_addVertex: (a: number, b: any) => [number, number];
|
|
769
|
-
readonly mesh_addVertices: (a: number, b: any) => [number, number];
|
|
770
|
-
readonly mesh_clearIndices: (a: number) => void;
|
|
771
|
-
readonly mesh_clearInstances: (a: number) => void;
|
|
772
|
-
readonly mesh_fromVertices: (a: any) => [number, number, number];
|
|
773
|
-
readonly mesh_new_js: () => number;
|
|
774
|
-
readonly mesh_setIndices: (a: number, b: any) => [number, number];
|
|
775
|
-
readonly mesh_setInstanceCount: (a: number, b: any) => [number, number];
|
|
808
|
+
readonly materialmap_texture: (a: number, b: any, c: number) => [number, number, number];
|
|
809
|
+
readonly materialmap_transform: (a: number, b: any, c: any, d: any) => [number, number, number];
|
|
810
|
+
readonly materialmap_uv: (a: number, b: any) => [number, number, number];
|
|
811
|
+
readonly model___fc_kind: (a: number) => [number, number];
|
|
776
812
|
readonly model___fc_share: (a: number) => number;
|
|
777
|
-
readonly model_material: (a: number) =>
|
|
813
|
+
readonly model_material: (a: number) => any;
|
|
778
814
|
readonly model_mesh: (a: number) => number;
|
|
779
|
-
readonly model_new_js: (a:
|
|
815
|
+
readonly model_new_js: (a: any, b: any) => [number, number, number];
|
|
780
816
|
readonly model_rotate: (a: number, b: any, c: any) => [number, number];
|
|
781
817
|
readonly model_scale: (a: number, b: any) => [number, number];
|
|
782
818
|
readonly model_setTransform: (a: number, b: any) => [number, number];
|
|
@@ -784,12 +820,9 @@ export interface InitOutput {
|
|
|
784
820
|
readonly model_transform: (a: number) => [number, number];
|
|
785
821
|
readonly model_translate: (a: number, b: any) => [number, number];
|
|
786
822
|
readonly model_visible: (a: number) => number;
|
|
787
|
-
readonly quad___fc_share: (a: number) => number;
|
|
788
|
-
readonly quad_getMesh: (a: number) => number;
|
|
789
|
-
readonly quad_new_js: (a: any, b: any) => [number, number, number];
|
|
790
823
|
readonly scene___fc_share: (a: number) => number;
|
|
791
824
|
readonly scene_add: (a: number, b: any) => [number, number, number];
|
|
792
|
-
readonly scene_addPass: (a: number, b:
|
|
825
|
+
readonly scene_addPass: (a: number, b: any) => [number, number, number];
|
|
793
826
|
readonly scene_addTo: (a: number, b: any, c: any) => [number, number, number];
|
|
794
827
|
readonly scene_ambient: (a: number, b: any) => [number, number, number];
|
|
795
828
|
readonly scene_cameras: (a: number) => [number, number];
|
|
@@ -803,100 +836,60 @@ export interface InitOutput {
|
|
|
803
836
|
readonly scene_noDefaultCamera: (a: number) => number;
|
|
804
837
|
readonly scene_noDefaultLight: (a: number) => number;
|
|
805
838
|
readonly scene_noDefaults: (a: number) => number;
|
|
806
|
-
readonly scene_removePass: (a: number, b:
|
|
807
|
-
readonly scene_setDefaultCamera: (a: number, b:
|
|
808
|
-
readonly scene_setDefaultLight: (a: number, b:
|
|
839
|
+
readonly scene_removePass: (a: number, b: any) => [number, number, number];
|
|
840
|
+
readonly scene_setDefaultCamera: (a: number, b: any) => [number, number, number];
|
|
841
|
+
readonly scene_setDefaultLight: (a: number, b: any) => [number, number, number];
|
|
809
842
|
readonly scene_setPasses: (a: number, b: any) => [number, number];
|
|
810
|
-
readonly
|
|
811
|
-
readonly
|
|
812
|
-
readonly vertex_NORMAL: () => [number, number];
|
|
813
|
-
readonly vertex_TANGENT: () => [number, number];
|
|
814
|
-
readonly vertex_UV0: () => [number, number];
|
|
815
|
-
readonly vertex_UV1: () => [number, number];
|
|
816
|
-
readonly vertex___fc_share: (a: number) => number;
|
|
817
|
-
readonly vertex_createInstance: (a: number) => number;
|
|
818
|
-
readonly vertex_new: (a: any) => [number, number, number];
|
|
819
|
-
readonly vertex_pbr: (a: any) => [number, number, number];
|
|
820
|
-
readonly vertex_set: (a: number, b: any, c: any) => [number, number, number];
|
|
821
|
-
readonly instance_new_js: () => number;
|
|
822
|
-
readonly vertex_new_js: (a: any) => [number, number, number];
|
|
823
|
-
readonly __wbg_color_free: (a: number, b: number) => void;
|
|
824
|
-
readonly __wbg_camera_free: (a: number, b: number) => void;
|
|
825
|
-
readonly __wbg_get_textureoptions_format: (a: number) => number;
|
|
826
|
-
readonly __wbg_get_textureoptions_mipmaps: (a: number) => number;
|
|
827
|
-
readonly __wbg_get_textureoptions_sampler: (a: number) => number;
|
|
828
|
-
readonly __wbg_get_textureoptions_size: (a: number) => number;
|
|
829
|
-
readonly __wbg_get_textureoptions_usage: (a: number) => number;
|
|
830
|
-
readonly __wbg_light_free: (a: number, b: number) => void;
|
|
831
|
-
readonly __wbg_model_free: (a: number, b: number) => void;
|
|
832
|
-
readonly __wbg_pass_free: (a: number, b: number) => void;
|
|
843
|
+
readonly __wbg_materialmap_free: (a: number, b: number) => void;
|
|
844
|
+
readonly __wbg_pbrmaterial_free: (a: number, b: number) => void;
|
|
833
845
|
readonly __wbg_quad_free: (a: number, b: number) => void;
|
|
834
|
-
readonly __wbg_scene_free: (a: number, b: number) => void;
|
|
835
|
-
readonly __wbg_set_textureoptions_format: (a: number, b: number) => void;
|
|
836
|
-
readonly __wbg_set_textureoptions_mipmaps: (a: number, b: number) => void;
|
|
837
|
-
readonly __wbg_set_textureoptions_sampler: (a: number, b: number) => void;
|
|
838
|
-
readonly __wbg_set_textureoptions_size: (a: number, b: number) => void;
|
|
839
|
-
readonly __wbg_set_textureoptions_usage: (a: number, b: number) => void;
|
|
840
|
-
readonly __wbg_textureoptions_free: (a: number, b: number) => void;
|
|
841
|
-
readonly __wbg_vertex_free: (a: number, b: number) => void;
|
|
842
846
|
readonly __wbg_windowtarget_free: (a: number, b: number) => void;
|
|
843
|
-
readonly
|
|
844
|
-
readonly
|
|
845
|
-
readonly
|
|
846
|
-
readonly pass___fc_kind: (a: number) => [number, number];
|
|
847
|
-
readonly pass___fc_share: (a: number) => number;
|
|
847
|
+
readonly materialmap___fc_kind: (a: number) => [number, number];
|
|
848
|
+
readonly materialmap___fc_share: (a: number) => number;
|
|
849
|
+
readonly pbrmaterial___fc_kind: (a: number) => [number, number];
|
|
848
850
|
readonly quad___fc_kind: (a: number) => [number, number];
|
|
849
|
-
readonly scene___fc_kind: (a: number) => [number, number];
|
|
850
851
|
readonly texturetarget___fc_share: (a: number) => number;
|
|
851
852
|
readonly texturetarget_getImage: (a: number) => any;
|
|
852
853
|
readonly texturetarget_resize: (a: number, b: any) => [number, number];
|
|
853
854
|
readonly texturetarget_size: (a: number) => number;
|
|
854
|
-
readonly vertex___fc_kind: (a: number) => [number, number];
|
|
855
855
|
readonly windowtarget___fc_kind: (a: number) => [number, number];
|
|
856
856
|
readonly windowtarget___fc_share: (a: number) => number;
|
|
857
857
|
readonly windowtarget_getImage: (a: number) => any;
|
|
858
858
|
readonly windowtarget_resize: (a: number, b: any) => [number, number];
|
|
859
859
|
readonly windowtarget_size: (a: number) => number;
|
|
860
860
|
readonly texturetarget_texture: (a: number) => number;
|
|
861
|
-
readonly
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
865
|
-
readonly
|
|
866
|
-
readonly
|
|
867
|
-
readonly
|
|
868
|
-
readonly
|
|
869
|
-
readonly
|
|
870
|
-
readonly
|
|
871
|
-
readonly
|
|
872
|
-
readonly
|
|
873
|
-
readonly
|
|
874
|
-
readonly
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
readonly
|
|
878
|
-
readonly
|
|
879
|
-
readonly
|
|
880
|
-
readonly
|
|
881
|
-
readonly
|
|
882
|
-
readonly
|
|
883
|
-
readonly
|
|
884
|
-
readonly
|
|
885
|
-
readonly
|
|
886
|
-
readonly
|
|
887
|
-
readonly
|
|
888
|
-
readonly renderer_unregisterTexture: (a: number, b: any) => [number, number];
|
|
889
|
-
readonly __wbg_get_textureid_id: (a: number) => bigint;
|
|
890
|
-
readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
|
|
891
|
-
readonly __wbg_size_free: (a: number, b: number) => void;
|
|
892
|
-
readonly __wbg_texture_free: (a: number, b: number) => void;
|
|
893
|
-
readonly __wbg_textureid_free: (a: number, b: number) => void;
|
|
894
|
-
readonly __wbg_texturetarget_free: (a: number, b: number) => void;
|
|
861
|
+
readonly __wbg_get_textureoptions_format: (a: number) => number;
|
|
862
|
+
readonly __wbg_get_textureoptions_mipmaps: (a: number) => number;
|
|
863
|
+
readonly __wbg_get_textureoptions_sampler: (a: number) => number;
|
|
864
|
+
readonly __wbg_get_textureoptions_size: (a: number) => number;
|
|
865
|
+
readonly __wbg_get_textureoptions_usage: (a: number) => number;
|
|
866
|
+
readonly __wbg_mesh_free: (a: number, b: number) => void;
|
|
867
|
+
readonly __wbg_set_textureoptions_format: (a: number, b: number) => void;
|
|
868
|
+
readonly __wbg_set_textureoptions_mipmaps: (a: number, b: number) => void;
|
|
869
|
+
readonly __wbg_set_textureoptions_sampler: (a: number, b: number) => void;
|
|
870
|
+
readonly __wbg_set_textureoptions_size: (a: number, b: number) => void;
|
|
871
|
+
readonly __wbg_set_textureoptions_usage: (a: number, b: number) => void;
|
|
872
|
+
readonly __wbg_textureoptions_free: (a: number, b: number) => void;
|
|
873
|
+
readonly instance___fc_share: (a: number) => number;
|
|
874
|
+
readonly instance_new: () => number;
|
|
875
|
+
readonly instance_set: (a: number, b: any, c: any) => [number, number, number];
|
|
876
|
+
readonly mesh___fc_kind: (a: number) => [number, number];
|
|
877
|
+
readonly mesh___fc_share: (a: number) => number;
|
|
878
|
+
readonly mesh_addInstance: (a: number, b: any) => [number, number];
|
|
879
|
+
readonly mesh_addInstances: (a: number, b: any) => [number, number];
|
|
880
|
+
readonly mesh_addVertex: (a: number, b: any) => [number, number];
|
|
881
|
+
readonly mesh_addVertices: (a: number, b: any) => [number, number];
|
|
882
|
+
readonly mesh_clearIndices: (a: number) => void;
|
|
883
|
+
readonly mesh_clearInstances: (a: number) => void;
|
|
884
|
+
readonly mesh_fromVertices: (a: any) => [number, number, number];
|
|
885
|
+
readonly mesh_new_js: () => number;
|
|
886
|
+
readonly mesh_setIndices: (a: number, b: any) => [number, number];
|
|
887
|
+
readonly mesh_setInstanceCount: (a: number, b: any) => [number, number];
|
|
895
888
|
readonly pass_add: (a: number, b: any) => [number, number, number];
|
|
896
|
-
readonly pass_addMesh: (a: number, b:
|
|
897
|
-
readonly pass_addShader: (a: number, b:
|
|
889
|
+
readonly pass_addMesh: (a: number, b: any) => [number, number];
|
|
890
|
+
readonly pass_addShader: (a: number, b: any) => [number, number];
|
|
898
891
|
readonly pass_compute: (a: any) => [number, number, number];
|
|
899
|
-
readonly pass_fromShader: (a: any, b:
|
|
892
|
+
readonly pass_fromShader: (a: any, b: any) => [number, number, number];
|
|
900
893
|
readonly pass_isCompute: (a: number) => number;
|
|
901
894
|
readonly pass_loadPrevious: (a: number) => void;
|
|
902
895
|
readonly pass_name: (a: number) => [number, number];
|
|
@@ -907,55 +900,131 @@ export interface InitOutput {
|
|
|
907
900
|
readonly pass_setDepthTarget: (a: number, b: any) => [number, number];
|
|
908
901
|
readonly pass_setTarget: (a: number, b: any) => [number, number];
|
|
909
902
|
readonly pass_setViewport: (a: number, b: any) => [number, number];
|
|
910
|
-
readonly
|
|
911
|
-
readonly
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
915
|
-
readonly
|
|
916
|
-
readonly
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
919
|
-
readonly
|
|
903
|
+
readonly pbrmaterial___fc_share: (a: number) => number;
|
|
904
|
+
readonly pbrmaterial_alphaCutoff: (a: number, b: any) => [number, number, number];
|
|
905
|
+
readonly pbrmaterial_alphaMode: (a: number, b: any) => [number, number, number];
|
|
906
|
+
readonly pbrmaterial_baseColor: (a: number, b: any) => [number, number, number];
|
|
907
|
+
readonly pbrmaterial_baseColorMap: (a: number) => number;
|
|
908
|
+
readonly pbrmaterial_doubleSided: (a: number, b: any) => [number, number, number];
|
|
909
|
+
readonly pbrmaterial_emissive: (a: number, b: any) => [number, number, number];
|
|
910
|
+
readonly pbrmaterial_emissiveMap: (a: number) => number;
|
|
911
|
+
readonly pbrmaterial_metallic: (a: number, b: any) => [number, number, number];
|
|
912
|
+
readonly pbrmaterial_metallicRoughnessMap: (a: number) => number;
|
|
913
|
+
readonly pbrmaterial_new_js: () => number;
|
|
914
|
+
readonly pbrmaterial_normalMap: (a: number) => number;
|
|
915
|
+
readonly pbrmaterial_normalScale: (a: number, b: any) => [number, number, number];
|
|
916
|
+
readonly pbrmaterial_occlusionMap: (a: number) => number;
|
|
917
|
+
readonly pbrmaterial_occlusionStrength: (a: number, b: any) => [number, number, number];
|
|
918
|
+
readonly pbrmaterial_roughness: (a: number, b: any) => [number, number, number];
|
|
919
|
+
readonly pbrmaterial_uvTransform: (a: number, b: any, c: any, d: any) => [number, number, number];
|
|
920
|
+
readonly quad___fc_share: (a: number) => number;
|
|
921
|
+
readonly quad_getMesh: (a: number) => number;
|
|
922
|
+
readonly quad_new_js: (a: any, b: any) => [number, number, number];
|
|
923
|
+
readonly vertex_COLOR0: () => [number, number];
|
|
924
|
+
readonly vertex_COLOR1: () => [number, number];
|
|
925
|
+
readonly vertex_NORMAL: () => [number, number];
|
|
926
|
+
readonly vertex_TANGENT: () => [number, number];
|
|
927
|
+
readonly vertex_UV0: () => [number, number];
|
|
928
|
+
readonly vertex_UV1: () => [number, number];
|
|
929
|
+
readonly vertex___fc_share: (a: number) => number;
|
|
930
|
+
readonly vertex_createInstance: (a: number) => number;
|
|
931
|
+
readonly vertex_new: (a: any) => [number, number, number];
|
|
932
|
+
readonly vertex_pbr: (a: any) => [number, number, number];
|
|
933
|
+
readonly vertex_set: (a: number, b: any, c: any) => [number, number, number];
|
|
934
|
+
readonly pbrmaterial_shader: (a: number) => number;
|
|
935
|
+
readonly instance_new_js: () => number;
|
|
936
|
+
readonly vertex_new_js: (a: any) => [number, number, number];
|
|
937
|
+
readonly __wbg_scene_free: (a: number, b: number) => void;
|
|
938
|
+
readonly __wbg_shader_free: (a: number, b: number) => void;
|
|
939
|
+
readonly scene___fc_kind: (a: number) => [number, number];
|
|
940
|
+
readonly shader___fc_kind: (a: number) => [number, number];
|
|
941
|
+
readonly shader___fc_share: (a: number) => number;
|
|
942
|
+
readonly __wbg_unlitmaterial_free: (a: number, b: number) => void;
|
|
943
|
+
readonly __wbg_vertex_free: (a: number, b: number) => void;
|
|
944
|
+
readonly shader_addMesh: (a: number, b: any) => [number, number];
|
|
945
|
+
readonly shader_alphaMode: (a: number, b: any) => [number, number, number];
|
|
920
946
|
readonly shader_clearMeshes: (a: number) => void;
|
|
921
947
|
readonly shader_default: () => number;
|
|
948
|
+
readonly shader_doubleSided: (a: number, b: any) => [number, number, number];
|
|
922
949
|
readonly shader_fetch: (a: any) => any;
|
|
923
|
-
readonly shader_fromMesh: (a:
|
|
924
|
-
readonly shader_fromVertex: (a:
|
|
950
|
+
readonly shader_fromMesh: (a: any) => [number, number, number];
|
|
951
|
+
readonly shader_fromVertex: (a: any) => [number, number, number];
|
|
925
952
|
readonly shader_get: (a: number, b: any) => [number, number, number];
|
|
926
953
|
readonly shader_isCompute: (a: number) => number;
|
|
927
954
|
readonly shader_listKeys: (a: number) => [number, number];
|
|
928
955
|
readonly shader_listUniforms: (a: number) => [number, number];
|
|
929
956
|
readonly shader_new_js: (a: any) => [number, number, number];
|
|
930
|
-
readonly shader_removeMesh: (a: number, b:
|
|
957
|
+
readonly shader_removeMesh: (a: number, b: any) => [number, number];
|
|
931
958
|
readonly shader_removeMeshes: (a: number, b: any) => [number, number];
|
|
932
959
|
readonly shader_set: (a: number, b: any, c: any) => [number, number];
|
|
933
960
|
readonly shader_setRegistry: (a: any) => [number, number];
|
|
934
961
|
readonly shader_unwrap: (a: number) => number;
|
|
935
|
-
readonly shader_validateMesh: (a: number, b:
|
|
936
|
-
readonly
|
|
937
|
-
readonly
|
|
938
|
-
readonly
|
|
939
|
-
readonly
|
|
940
|
-
readonly
|
|
941
|
-
readonly
|
|
942
|
-
readonly
|
|
943
|
-
readonly
|
|
962
|
+
readonly shader_validateMesh: (a: number, b: any) => [number, number];
|
|
963
|
+
readonly unlitmaterial___fc_kind: (a: number) => [number, number];
|
|
964
|
+
readonly unlitmaterial___fc_share: (a: number) => number;
|
|
965
|
+
readonly unlitmaterial_alphaCutoff: (a: number, b: any) => [number, number, number];
|
|
966
|
+
readonly unlitmaterial_alphaMode: (a: number, b: any) => [number, number, number];
|
|
967
|
+
readonly unlitmaterial_baseColor: (a: number, b: any) => [number, number, number];
|
|
968
|
+
readonly unlitmaterial_baseColorMap: (a: number) => number;
|
|
969
|
+
readonly unlitmaterial_doubleSided: (a: number, b: any) => [number, number, number];
|
|
970
|
+
readonly unlitmaterial_new_js: () => number;
|
|
971
|
+
readonly vertex___fc_kind: (a: number) => [number, number];
|
|
972
|
+
readonly unlitmaterial_shader: (a: number) => number;
|
|
973
|
+
readonly __wbg_get_samplerinfo_comparison: (a: number) => number;
|
|
974
|
+
readonly __wbg_get_textureid_id: (a: number) => bigint;
|
|
975
|
+
readonly __wbg_samplerinfo_free: (a: number, b: number) => void;
|
|
976
|
+
readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
|
|
977
|
+
readonly __wbg_texture_free: (a: number, b: number) => void;
|
|
978
|
+
readonly __wbg_textureid_free: (a: number, b: number) => void;
|
|
979
|
+
readonly samplerinfo___fc_kind: (a: number) => [number, number];
|
|
980
|
+
readonly sampleroptions___fc_kind: (a: number) => [number, number];
|
|
981
|
+
readonly sampleroptions_compare_js: (a: number) => number;
|
|
982
|
+
readonly sampleroptions_new_js: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
983
|
+
readonly sampleroptions_repeat_x_js: (a: number) => number;
|
|
984
|
+
readonly sampleroptions_repeat_y_js: (a: number) => number;
|
|
985
|
+
readonly sampleroptions_set_compare_js: (a: number, b: any) => [number, number];
|
|
986
|
+
readonly sampleroptions_set_repeat_x_js: (a: number, b: any) => [number, number];
|
|
987
|
+
readonly sampleroptions_set_repeat_y_js: (a: number, b: any) => [number, number];
|
|
988
|
+
readonly sampleroptions_set_smooth_js: (a: number, b: any) => [number, number];
|
|
989
|
+
readonly sampleroptions_smooth_js: (a: number) => number;
|
|
944
990
|
readonly texture___fc_kind: (a: number) => [number, number];
|
|
945
991
|
readonly texture___fc_share: (a: number) => number;
|
|
946
992
|
readonly textureid___fc_kind: (a: number) => [number, number];
|
|
947
993
|
readonly textureid___fc_share: (a: number) => number;
|
|
948
|
-
readonly texturetarget___fc_kind: (a: number) => [number, number];
|
|
949
|
-
readonly __wbg_mesh_free: (a: number, b: number) => void;
|
|
950
994
|
readonly __wbg_renderer_free: (a: number, b: number) => void;
|
|
951
|
-
readonly
|
|
995
|
+
readonly __wbg_screenregion_free: (a: number, b: number) => void;
|
|
996
|
+
readonly __wbg_toonmaterial_free: (a: number, b: number) => void;
|
|
952
997
|
readonly renderer___fc_kind: (a: number) => [number, number];
|
|
953
|
-
readonly
|
|
954
|
-
readonly
|
|
955
|
-
readonly
|
|
956
|
-
readonly
|
|
957
|
-
readonly
|
|
958
|
-
readonly
|
|
998
|
+
readonly screenregion___fc_kind: (a: number) => [number, number];
|
|
999
|
+
readonly screenregion_height: (a: number) => number;
|
|
1000
|
+
readonly screenregion_max_x_js: (a: number) => number;
|
|
1001
|
+
readonly screenregion_max_y_js: (a: number) => number;
|
|
1002
|
+
readonly screenregion_min_x_js: (a: number) => number;
|
|
1003
|
+
readonly screenregion_min_y_js: (a: number) => number;
|
|
1004
|
+
readonly screenregion_new_js: (a: any, b: any) => [number, number, number];
|
|
1005
|
+
readonly screenregion_width: (a: number) => number;
|
|
1006
|
+
readonly toonmaterial___fc_kind: (a: number) => [number, number];
|
|
1007
|
+
readonly toonmaterial___fc_share: (a: number) => number;
|
|
1008
|
+
readonly toonmaterial_alphaCutoff: (a: number, b: any) => [number, number, number];
|
|
1009
|
+
readonly toonmaterial_alphaMode: (a: number, b: any) => [number, number, number];
|
|
1010
|
+
readonly toonmaterial_bands: (a: number, b: any) => [number, number, number];
|
|
1011
|
+
readonly toonmaterial_baseColor: (a: number, b: any) => [number, number, number];
|
|
1012
|
+
readonly toonmaterial_baseColorMap: (a: number) => number;
|
|
1013
|
+
readonly toonmaterial_doubleSided: (a: number, b: any) => [number, number, number];
|
|
1014
|
+
readonly toonmaterial_highlight: (a: number, b: any) => [number, number, number];
|
|
1015
|
+
readonly toonmaterial_highlightSize: (a: number, b: any) => [number, number, number];
|
|
1016
|
+
readonly toonmaterial_new_js: () => number;
|
|
1017
|
+
readonly toonmaterial_rampMap: (a: number) => number;
|
|
1018
|
+
readonly toonmaterial_rim: (a: number, b: any) => [number, number, number];
|
|
1019
|
+
readonly toonmaterial_rimWidth: (a: number, b: any) => [number, number, number];
|
|
1020
|
+
readonly wasm_start: () => void;
|
|
1021
|
+
readonly toonmaterial_shader: (a: number) => number;
|
|
1022
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___wasm_bindgen_d9b5890b613edfa8___JsValue__core_6a51abefd5362b2___result__Result_____wasm_bindgen_d9b5890b613edfa8___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
1023
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___wasm_bindgen_d9b5890b613edfa8___sys__JsOption_wgpu_b74ee370ac69c6a3___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_6a51abefd5362b2___result__Result_____wasm_bindgen_d9b5890b613edfa8___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
1024
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___wasm_bindgen_d9b5890b613edfa8___sys__JsOption_wgpu_b74ee370ac69c6a3___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_6a51abefd5362b2___result__Result_____wasm_bindgen_d9b5890b613edfa8___JsError___true__3: (a: number, b: number, c: any) => [number, number];
|
|
1025
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___wasm_bindgen_d9b5890b613edfa8___sys__JsOption_wgpu_b74ee370ac69c6a3___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_6a51abefd5362b2___result__Result_____wasm_bindgen_d9b5890b613edfa8___JsError___true__4: (a: number, b: number, c: any) => [number, number];
|
|
1026
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___js_sys_768d37dc277f5946___Function_fn_wasm_bindgen_d9b5890b613edfa8___JsValue_____wasm_bindgen_d9b5890b613edfa8___sys__Undefined___js_sys_768d37dc277f5946___Function_fn_wasm_bindgen_d9b5890b613edfa8___JsValue_____wasm_bindgen_d9b5890b613edfa8___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
1027
|
+
readonly wasm_bindgen_d9b5890b613edfa8___convert__closures_____invoke___wgpu_b74ee370ac69c6a3___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
|
|
959
1028
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
960
1029
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
961
1030
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -989,5 +1058,3 @@ export function initSync(module: { module: SyncInitInput } | SyncInitInput): Ini
|
|
|
989
1058
|
* @returns {Promise<InitOutput>}
|
|
990
1059
|
*/
|
|
991
1060
|
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|
|
992
|
-
|
|
993
|
-
export { WindowTarget as CanvasTarget };
|