fragmentcolor 0.12.3 → 0.12.4
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 +125 -125
- package/fragmentcolor.js +26 -26
- package/fragmentcolor_bg.wasm +0 -0
- package/package.json +1 -1
package/fragmentcolor.d.ts
CHANGED
|
@@ -635,6 +635,39 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
635
635
|
|
|
636
636
|
export interface InitOutput {
|
|
637
637
|
readonly memory: WebAssembly.Memory;
|
|
638
|
+
readonly __wbg_externaltexturehandle_free: (a: number, b: number) => void;
|
|
639
|
+
readonly __wbg_get_textureusage_bits: (a: number) => number;
|
|
640
|
+
readonly __wbg_set_textureusage_bits: (a: number, b: number) => void;
|
|
641
|
+
readonly __wbg_shader_free: (a: number, b: number) => void;
|
|
642
|
+
readonly __wbg_textureusage_free: (a: number, b: number) => void;
|
|
643
|
+
readonly shader___fc_kind: (a: number) => [number, number];
|
|
644
|
+
readonly __wbg_pass_free: (a: number, b: number) => void;
|
|
645
|
+
readonly __wbg_passinput_free: (a: number, b: number) => void;
|
|
646
|
+
readonly __wbg_scene_free: (a: number, b: number) => void;
|
|
647
|
+
readonly __wbg_texturetarget_free: (a: number, b: number) => void;
|
|
648
|
+
readonly material_alphaCutoff: (a: number, b: number) => number;
|
|
649
|
+
readonly material_alphaMode: (a: number, b: number) => number;
|
|
650
|
+
readonly material_baseColor: (a: number, b: number, c: number) => [number, number, number];
|
|
651
|
+
readonly material_baseColorTexture: (a: number, b: number) => number;
|
|
652
|
+
readonly material_custom: (a: number) => number;
|
|
653
|
+
readonly material_doubleSided: (a: number, b: number) => number;
|
|
654
|
+
readonly material_emissive: (a: number, b: number, c: number) => [number, number, number];
|
|
655
|
+
readonly material_emissiveTexture: (a: number, b: number) => number;
|
|
656
|
+
readonly material_metallic: (a: number, b: number) => number;
|
|
657
|
+
readonly material_metallicRoughnessTexture: (a: number, b: number) => number;
|
|
658
|
+
readonly material_normalScale: (a: number, b: number) => number;
|
|
659
|
+
readonly material_normalTexture: (a: number, b: number) => number;
|
|
660
|
+
readonly material_occlusionStrength: (a: number, b: number) => number;
|
|
661
|
+
readonly material_occlusionTexture: (a: number, b: number) => number;
|
|
662
|
+
readonly material_pbr: () => number;
|
|
663
|
+
readonly material_roughness: (a: number, b: number) => number;
|
|
664
|
+
readonly material_shader: (a: number) => number;
|
|
665
|
+
readonly material_uvTransform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
666
|
+
readonly pass___fc_kind: (a: number) => [number, number];
|
|
667
|
+
readonly scene___fc_kind: (a: number) => [number, number];
|
|
668
|
+
readonly texturetarget___fc_kind: (a: number) => [number, number];
|
|
669
|
+
readonly __wbg_renderer_free: (a: number, b: number) => void;
|
|
670
|
+
readonly renderer___fc_kind: (a: number) => [number, number];
|
|
638
671
|
readonly __wbg_get_size_depth: (a: number) => number;
|
|
639
672
|
readonly __wbg_get_size_height: (a: number) => number;
|
|
640
673
|
readonly __wbg_get_size_width: (a: number) => number;
|
|
@@ -654,6 +687,32 @@ export interface InitOutput {
|
|
|
654
687
|
readonly renderer_readTexture: (a: number, b: any) => any;
|
|
655
688
|
readonly renderer_render: (a: number, b: any, c: any) => [number, number];
|
|
656
689
|
readonly renderer_unregisterTexture: (a: number, b: any) => [number, number];
|
|
690
|
+
readonly __wbg_canvastarget_free: (a: number, b: number) => void;
|
|
691
|
+
readonly __wbg_instance_free: (a: number, b: number) => void;
|
|
692
|
+
readonly __wbg_vertex_free: (a: number, b: number) => void;
|
|
693
|
+
readonly canvastarget___fc_kind: (a: number) => [number, number];
|
|
694
|
+
readonly canvastarget_getImage: (a: number) => [number, number, number];
|
|
695
|
+
readonly canvastarget_resize: (a: number, b: any) => [number, number];
|
|
696
|
+
readonly canvastarget_size: (a: number) => number;
|
|
697
|
+
readonly instance_new: () => number;
|
|
698
|
+
readonly instance_set: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
699
|
+
readonly mesh_addInstance: (a: number, b: any) => [number, number];
|
|
700
|
+
readonly mesh_addInstances: (a: number, b: any) => [number, number];
|
|
701
|
+
readonly mesh_addVertex: (a: number, b: any) => [number, number];
|
|
702
|
+
readonly mesh_addVertices: (a: number, b: any) => [number, number];
|
|
703
|
+
readonly mesh_clearIndices: (a: number) => void;
|
|
704
|
+
readonly mesh_clearInstances: (a: number) => void;
|
|
705
|
+
readonly mesh_fromVertices: (a: any) => [number, number, number];
|
|
706
|
+
readonly mesh_new_js: () => number;
|
|
707
|
+
readonly mesh_setIndices: (a: number, b: any) => [number, number];
|
|
708
|
+
readonly mesh_setInstanceCount: (a: number, b: number) => void;
|
|
709
|
+
readonly mipmap_build: (a: any, b: number, c: any) => [number, number, number];
|
|
710
|
+
readonly mipmap_count: (a: number) => number;
|
|
711
|
+
readonly mipmap_format: (a: number) => number;
|
|
712
|
+
readonly mipmap_level: (a: number, b: number) => [number, number, number];
|
|
713
|
+
readonly mipmap_size: (a: number) => number;
|
|
714
|
+
readonly quad_getMesh: (a: number) => number;
|
|
715
|
+
readonly quad_new_js: (a: any, b: any) => [number, number, number];
|
|
657
716
|
readonly shader_addMesh: (a: number, b: number) => [number, number];
|
|
658
717
|
readonly shader_clearMeshes: (a: number) => void;
|
|
659
718
|
readonly shader_default: () => number;
|
|
@@ -671,35 +730,6 @@ export interface InitOutput {
|
|
|
671
730
|
readonly shader_setRegistry: (a: number, b: number) => void;
|
|
672
731
|
readonly shader_unwrap: (a: number) => number;
|
|
673
732
|
readonly shader_validateMesh: (a: number, b: number) => [number, number];
|
|
674
|
-
readonly __wbg_shader_free: (a: number, b: number) => void;
|
|
675
|
-
readonly shader___fc_kind: (a: number) => [number, number];
|
|
676
|
-
readonly __wbg_renderer_free: (a: number, b: number) => void;
|
|
677
|
-
readonly renderer___fc_kind: (a: number) => [number, number];
|
|
678
|
-
readonly __wbg_pass_free: (a: number, b: number) => void;
|
|
679
|
-
readonly __wbg_passinput_free: (a: number, b: number) => void;
|
|
680
|
-
readonly __wbg_scene_free: (a: number, b: number) => void;
|
|
681
|
-
readonly pass___fc_kind: (a: number) => [number, number];
|
|
682
|
-
readonly scene___fc_kind: (a: number) => [number, number];
|
|
683
|
-
readonly __wbg_get_textureoptions_format: (a: number) => number;
|
|
684
|
-
readonly __wbg_get_textureoptions_mipmaps: (a: number) => number;
|
|
685
|
-
readonly __wbg_get_textureoptions_sampler: (a: number) => number;
|
|
686
|
-
readonly __wbg_get_textureoptions_size: (a: number) => number;
|
|
687
|
-
readonly __wbg_get_textureoptions_usage: (a: number) => number;
|
|
688
|
-
readonly __wbg_get_textureusage_bits: (a: number) => number;
|
|
689
|
-
readonly __wbg_quad_free: (a: number, b: number) => void;
|
|
690
|
-
readonly __wbg_set_textureoptions_format: (a: number, b: number) => void;
|
|
691
|
-
readonly __wbg_set_textureoptions_mipmaps: (a: number, b: number) => void;
|
|
692
|
-
readonly __wbg_set_textureoptions_sampler: (a: number, b: number) => void;
|
|
693
|
-
readonly __wbg_set_textureoptions_size: (a: number, b: number) => void;
|
|
694
|
-
readonly __wbg_set_textureoptions_usage: (a: number, b: number) => void;
|
|
695
|
-
readonly __wbg_set_textureusage_bits: (a: number, b: number) => void;
|
|
696
|
-
readonly __wbg_textureoptions_free: (a: number, b: number) => void;
|
|
697
|
-
readonly __wbg_textureusage_free: (a: number, b: number) => void;
|
|
698
|
-
readonly mipmap_build: (a: any, b: number, c: any) => [number, number, number];
|
|
699
|
-
readonly mipmap_count: (a: number) => number;
|
|
700
|
-
readonly mipmap_format: (a: number) => number;
|
|
701
|
-
readonly mipmap_level: (a: number, b: number) => [number, number, number];
|
|
702
|
-
readonly mipmap_size: (a: number) => number;
|
|
703
733
|
readonly texture_aspect: (a: number) => number;
|
|
704
734
|
readonly texture_getImage: (a: number) => any;
|
|
705
735
|
readonly texture_id: (a: number) => number;
|
|
@@ -707,93 +737,45 @@ export interface InitOutput {
|
|
|
707
737
|
readonly texture_size: (a: number) => number;
|
|
708
738
|
readonly texture_write: (a: number, b: any) => [number, number];
|
|
709
739
|
readonly texture_writeRegion: (a: number, b: any, c: any) => [number, number];
|
|
740
|
+
readonly texturetarget_getImage: (a: number) => any;
|
|
741
|
+
readonly texturetarget_resize: (a: number, b: any) => [number, number];
|
|
742
|
+
readonly texturetarget_size: (a: number) => number;
|
|
743
|
+
readonly texturetarget_texture: (a: number) => number;
|
|
744
|
+
readonly vertex_createInstance: (a: number) => number;
|
|
745
|
+
readonly vertex_new: (a: any) => [number, number, number];
|
|
746
|
+
readonly vertex_pbr: (a: any) => [number, number, number];
|
|
747
|
+
readonly vertex_set: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
748
|
+
readonly instance_new_js: () => number;
|
|
749
|
+
readonly vertex_new_js: (a: any) => [number, number, number];
|
|
710
750
|
readonly __wbg_color_free: (a: number, b: number) => void;
|
|
711
751
|
readonly __wbg_get_color_0: (a: number) => number;
|
|
752
|
+
readonly __wbg_get_sampleroptions_compare: (a: number) => number;
|
|
753
|
+
readonly __wbg_get_sampleroptions_repeat_x: (a: number) => number;
|
|
754
|
+
readonly __wbg_get_sampleroptions_repeat_y: (a: number) => number;
|
|
755
|
+
readonly __wbg_get_sampleroptions_smooth: (a: number) => number;
|
|
712
756
|
readonly __wbg_get_screenregion_max_x: (a: number) => number;
|
|
713
757
|
readonly __wbg_get_screenregion_max_y: (a: number) => number;
|
|
714
758
|
readonly __wbg_get_screenregion_min_y: (a: number) => number;
|
|
759
|
+
readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
|
|
715
760
|
readonly __wbg_screenregion_free: (a: number, b: number) => void;
|
|
716
761
|
readonly __wbg_set_color_0: (a: number, b: number) => void;
|
|
762
|
+
readonly __wbg_set_sampleroptions_compare: (a: number, b: number) => void;
|
|
763
|
+
readonly __wbg_set_sampleroptions_repeat_x: (a: number, b: number) => void;
|
|
764
|
+
readonly __wbg_set_sampleroptions_repeat_y: (a: number, b: number) => void;
|
|
765
|
+
readonly __wbg_set_sampleroptions_smooth: (a: number, b: number) => void;
|
|
717
766
|
readonly __wbg_set_screenregion_max_x: (a: number, b: number) => void;
|
|
718
767
|
readonly __wbg_set_screenregion_max_y: (a: number, b: number) => void;
|
|
719
768
|
readonly __wbg_set_screenregion_min_y: (a: number, b: number) => void;
|
|
720
769
|
readonly __wbg_get_screenregion_min_x: (a: number) => number;
|
|
721
770
|
readonly __wbg_set_screenregion_min_x: (a: number, b: number) => void;
|
|
722
|
-
readonly __wbg_externaltexturehandle_free: (a: number, b: number) => void;
|
|
723
|
-
readonly __wbg_camera_free: (a: number, b: number) => void;
|
|
724
|
-
readonly __wbg_get_sampleroptions_compare: (a: number) => number;
|
|
725
|
-
readonly __wbg_get_sampleroptions_repeat_x: (a: number) => number;
|
|
726
|
-
readonly __wbg_get_sampleroptions_repeat_y: (a: number) => number;
|
|
727
|
-
readonly __wbg_get_sampleroptions_smooth: (a: number) => number;
|
|
728
771
|
readonly __wbg_material_free: (a: number, b: number) => void;
|
|
729
|
-
readonly
|
|
730
|
-
readonly __wbg_sampleroptions_free: (a: number, b: number) => void;
|
|
731
|
-
readonly __wbg_set_sampleroptions_compare: (a: number, b: number) => void;
|
|
732
|
-
readonly __wbg_set_sampleroptions_repeat_x: (a: number, b: number) => void;
|
|
733
|
-
readonly __wbg_set_sampleroptions_repeat_y: (a: number, b: number) => void;
|
|
734
|
-
readonly __wbg_set_sampleroptions_smooth: (a: number, b: number) => void;
|
|
735
|
-
readonly camera___fc_kind: (a: number) => [number, number];
|
|
736
|
-
readonly material___fc_kind: (a: number) => [number, number];
|
|
737
|
-
readonly mesh___fc_kind: (a: number) => [number, number];
|
|
738
|
-
readonly __wbg_canvastarget_free: (a: number, b: number) => void;
|
|
739
|
-
readonly __wbg_instance_free: (a: number, b: number) => void;
|
|
740
|
-
readonly __wbg_vertex_free: (a: number, b: number) => void;
|
|
741
|
-
readonly canvastarget___fc_kind: (a: number) => [number, number];
|
|
742
|
-
readonly canvastarget_getImage: (a: number) => [number, number, number];
|
|
743
|
-
readonly canvastarget_resize: (a: number, b: any) => [number, number];
|
|
744
|
-
readonly canvastarget_size: (a: number) => number;
|
|
745
|
-
readonly instance_new: () => number;
|
|
746
|
-
readonly instance_set: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
747
|
-
readonly material_alphaCutoff: (a: number, b: number) => number;
|
|
748
|
-
readonly material_alphaMode: (a: number, b: number) => number;
|
|
749
|
-
readonly material_baseColor: (a: number, b: number, c: number) => [number, number, number];
|
|
750
|
-
readonly material_baseColorTexture: (a: number, b: number) => number;
|
|
751
|
-
readonly material_custom: (a: number) => number;
|
|
752
|
-
readonly material_doubleSided: (a: number, b: number) => number;
|
|
753
|
-
readonly material_emissive: (a: number, b: number, c: number) => [number, number, number];
|
|
754
|
-
readonly material_emissiveTexture: (a: number, b: number) => number;
|
|
755
|
-
readonly material_metallic: (a: number, b: number) => number;
|
|
756
|
-
readonly material_metallicRoughnessTexture: (a: number, b: number) => number;
|
|
757
|
-
readonly material_normalScale: (a: number, b: number) => number;
|
|
758
|
-
readonly material_normalTexture: (a: number, b: number) => number;
|
|
759
|
-
readonly material_occlusionStrength: (a: number, b: number) => number;
|
|
760
|
-
readonly material_occlusionTexture: (a: number, b: number) => number;
|
|
761
|
-
readonly material_pbr: () => number;
|
|
762
|
-
readonly material_roughness: (a: number, b: number) => number;
|
|
763
|
-
readonly material_shader: (a: number) => number;
|
|
764
|
-
readonly material_uvTransform: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
765
|
-
readonly mesh_addInstance: (a: number, b: any) => [number, number];
|
|
766
|
-
readonly mesh_addInstances: (a: number, b: any) => [number, number];
|
|
767
|
-
readonly mesh_addVertex: (a: number, b: any) => [number, number];
|
|
768
|
-
readonly mesh_addVertices: (a: number, b: any) => [number, number];
|
|
769
|
-
readonly mesh_clearIndices: (a: number) => void;
|
|
770
|
-
readonly mesh_clearInstances: (a: number) => void;
|
|
771
|
-
readonly mesh_fromVertices: (a: any) => [number, number, number];
|
|
772
|
-
readonly mesh_new_js: () => number;
|
|
773
|
-
readonly mesh_setIndices: (a: number, b: any) => [number, number];
|
|
774
|
-
readonly mesh_setInstanceCount: (a: number, b: number) => void;
|
|
775
|
-
readonly quad_getMesh: (a: number) => number;
|
|
776
|
-
readonly quad_new_js: (a: any, b: any) => [number, number, number];
|
|
777
|
-
readonly set_log_level: (a: number, b: number) => void;
|
|
778
|
-
readonly texturetarget_getImage: (a: number) => any;
|
|
779
|
-
readonly texturetarget_resize: (a: number, b: any) => [number, number];
|
|
780
|
-
readonly texturetarget_size: (a: number) => number;
|
|
781
|
-
readonly texturetarget_texture: (a: number) => number;
|
|
782
|
-
readonly vertex_createInstance: (a: number) => number;
|
|
783
|
-
readonly vertex_new: (a: any) => [number, number, number];
|
|
784
|
-
readonly vertex_pbr: (a: any) => [number, number, number];
|
|
785
|
-
readonly vertex_set: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
786
|
-
readonly wasm_start: () => void;
|
|
787
|
-
readonly instance_new_js: () => number;
|
|
788
|
-
readonly vertex_new_js: (a: any) => [number, number, number];
|
|
789
|
-
readonly __wbg_light_free: (a: number, b: number) => void;
|
|
772
|
+
readonly __wbg_model_free: (a: number, b: number) => void;
|
|
790
773
|
readonly camera_lookAt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
791
774
|
readonly camera_orthographic: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
792
775
|
readonly camera_perspective: (a: number, b: number, c: number, d: number) => number;
|
|
793
776
|
readonly camera_position: (a: number) => [number, number];
|
|
794
777
|
readonly camera_setAspect: (a: number, b: number) => number;
|
|
795
778
|
readonly camera_viewProj: (a: number) => [number, number];
|
|
796
|
-
readonly light___fc_kind: (a: number) => [number, number];
|
|
797
779
|
readonly light_color: (a: number) => [number, number];
|
|
798
780
|
readonly light_direction: (a: number) => [number, number];
|
|
799
781
|
readonly light_directional: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
@@ -811,6 +793,8 @@ export interface InitOutput {
|
|
|
811
793
|
readonly light_setPosition: (a: number, b: number, c: number) => [number, number, number];
|
|
812
794
|
readonly light_setRange: (a: number, b: number) => [number, number, number];
|
|
813
795
|
readonly light_spot: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
796
|
+
readonly material___fc_kind: (a: number) => [number, number];
|
|
797
|
+
readonly model___fc_kind: (a: number) => [number, number];
|
|
814
798
|
readonly model_material: (a: number) => number;
|
|
815
799
|
readonly model_mesh: (a: number) => number;
|
|
816
800
|
readonly model_new_js: (a: number, b: number) => number;
|
|
@@ -821,22 +805,6 @@ export interface InitOutput {
|
|
|
821
805
|
readonly model_transform: (a: number) => [number, number];
|
|
822
806
|
readonly model_translate: (a: number, b: number, c: number) => [number, number];
|
|
823
807
|
readonly model_visible: (a: number) => number;
|
|
824
|
-
readonly pass_add: (a: number, b: any) => [number, number];
|
|
825
|
-
readonly pass_addMesh: (a: number, b: number) => [number, number];
|
|
826
|
-
readonly pass_addShader: (a: number, b: number) => void;
|
|
827
|
-
readonly pass_compute: (a: number, b: number) => number;
|
|
828
|
-
readonly pass_fromShader: (a: number, b: number, c: number) => number;
|
|
829
|
-
readonly pass_getInput: (a: number) => number;
|
|
830
|
-
readonly pass_isCompute: (a: number) => number;
|
|
831
|
-
readonly pass_loadPrevious: (a: number) => void;
|
|
832
|
-
readonly pass_name: (a: number) => [number, number];
|
|
833
|
-
readonly pass_new_js: (a: number, b: number) => number;
|
|
834
|
-
readonly pass_require: (a: number, b: any) => [number, number];
|
|
835
|
-
readonly pass_setClearColor: (a: number, b: any) => [number, number];
|
|
836
|
-
readonly pass_setComputeDispatch: (a: number, b: number, c: number, d: number) => void;
|
|
837
|
-
readonly pass_setDepthTarget: (a: number, b: any) => [number, number];
|
|
838
|
-
readonly pass_setTarget: (a: number, b: any) => [number, number];
|
|
839
|
-
readonly pass_setViewport: (a: number, b: any) => [number, number];
|
|
840
808
|
readonly scene_add: (a: number, b: any) => [number, number];
|
|
841
809
|
readonly scene_addPass: (a: number, b: number) => void;
|
|
842
810
|
readonly scene_addTo: (a: number, b: any, c: any) => [number, number];
|
|
@@ -856,17 +824,49 @@ export interface InitOutput {
|
|
|
856
824
|
readonly scene_setDefaultCamera: (a: number, b: number) => void;
|
|
857
825
|
readonly scene_setDefaultLight: (a: number, b: number) => void;
|
|
858
826
|
readonly scene_setPasses: (a: number, b: number, c: number) => void;
|
|
827
|
+
readonly __wbg_camera_free: (a: number, b: number) => void;
|
|
859
828
|
readonly __wbg_get_textureid_id: (a: number) => bigint;
|
|
860
829
|
readonly __wbg_mipmap_free: (a: number, b: number) => void;
|
|
861
|
-
readonly __wbg_model_free: (a: number, b: number) => void;
|
|
862
830
|
readonly __wbg_set_textureid_id: (a: number, b: bigint) => void;
|
|
863
831
|
readonly __wbg_texture_free: (a: number, b: number) => void;
|
|
864
832
|
readonly __wbg_textureid_free: (a: number, b: number) => void;
|
|
865
|
-
readonly
|
|
833
|
+
readonly camera___fc_kind: (a: number) => [number, number];
|
|
866
834
|
readonly mipmap___fc_kind: (a: number) => [number, number];
|
|
867
|
-
readonly
|
|
835
|
+
readonly set_log_level: (a: number, b: number) => void;
|
|
868
836
|
readonly texture___fc_kind: (a: number) => [number, number];
|
|
869
|
-
readonly
|
|
837
|
+
readonly wasm_start: () => void;
|
|
838
|
+
readonly __wbg_get_textureoptions_format: (a: number) => number;
|
|
839
|
+
readonly __wbg_get_textureoptions_mipmaps: (a: number) => number;
|
|
840
|
+
readonly __wbg_get_textureoptions_sampler: (a: number) => number;
|
|
841
|
+
readonly __wbg_get_textureoptions_size: (a: number) => number;
|
|
842
|
+
readonly __wbg_get_textureoptions_usage: (a: number) => number;
|
|
843
|
+
readonly __wbg_light_free: (a: number, b: number) => void;
|
|
844
|
+
readonly __wbg_mesh_free: (a: number, b: number) => void;
|
|
845
|
+
readonly __wbg_quad_free: (a: number, b: number) => void;
|
|
846
|
+
readonly __wbg_set_textureoptions_format: (a: number, b: number) => void;
|
|
847
|
+
readonly __wbg_set_textureoptions_mipmaps: (a: number, b: number) => void;
|
|
848
|
+
readonly __wbg_set_textureoptions_sampler: (a: number, b: number) => void;
|
|
849
|
+
readonly __wbg_set_textureoptions_size: (a: number, b: number) => void;
|
|
850
|
+
readonly __wbg_set_textureoptions_usage: (a: number, b: number) => void;
|
|
851
|
+
readonly __wbg_textureoptions_free: (a: number, b: number) => void;
|
|
852
|
+
readonly light___fc_kind: (a: number) => [number, number];
|
|
853
|
+
readonly mesh___fc_kind: (a: number) => [number, number];
|
|
854
|
+
readonly pass_add: (a: number, b: any) => [number, number];
|
|
855
|
+
readonly pass_addMesh: (a: number, b: number) => [number, number];
|
|
856
|
+
readonly pass_addShader: (a: number, b: number) => void;
|
|
857
|
+
readonly pass_compute: (a: number, b: number) => number;
|
|
858
|
+
readonly pass_fromShader: (a: number, b: number, c: number) => number;
|
|
859
|
+
readonly pass_getInput: (a: number) => number;
|
|
860
|
+
readonly pass_isCompute: (a: number) => number;
|
|
861
|
+
readonly pass_loadPrevious: (a: number) => void;
|
|
862
|
+
readonly pass_name: (a: number) => [number, number];
|
|
863
|
+
readonly pass_new_js: (a: number, b: number) => number;
|
|
864
|
+
readonly pass_require: (a: number, b: any) => [number, number];
|
|
865
|
+
readonly pass_setClearColor: (a: number, b: any) => [number, number];
|
|
866
|
+
readonly pass_setComputeDispatch: (a: number, b: number, c: number, d: number) => void;
|
|
867
|
+
readonly pass_setDepthTarget: (a: number, b: any) => [number, number];
|
|
868
|
+
readonly pass_setTarget: (a: number, b: any) => [number, number];
|
|
869
|
+
readonly pass_setViewport: (a: number, b: any) => [number, number];
|
|
870
870
|
readonly __wbg_wasmbindgentestcontext_free: (a: number, b: number) => void;
|
|
871
871
|
readonly __wbgtest_console_debug: (a: any) => void;
|
|
872
872
|
readonly __wbgtest_console_error: (a: any) => void;
|
|
@@ -877,18 +877,18 @@ export interface InitOutput {
|
|
|
877
877
|
readonly wasmbindgentestcontext_include_ignored: (a: number, b: number) => void;
|
|
878
878
|
readonly wasmbindgentestcontext_new: (a: number) => number;
|
|
879
879
|
readonly wasmbindgentestcontext_run: (a: number, b: number, c: number) => any;
|
|
880
|
-
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
881
880
|
readonly __wbgbench_dump: () => [number, number];
|
|
882
881
|
readonly __wbgbench_import: (a: number, b: number) => void;
|
|
883
882
|
readonly __wbgtest_cov_dump: () => [number, number];
|
|
884
883
|
readonly __wbgtest_module_signature: () => [number, bigint];
|
|
885
|
-
readonly
|
|
886
|
-
readonly
|
|
887
|
-
readonly
|
|
888
|
-
readonly
|
|
889
|
-
readonly
|
|
890
|
-
readonly
|
|
891
|
-
readonly
|
|
884
|
+
readonly __wbgtest_coverage_path: (a: number, b: number, c: number, d: number, e: number, f: bigint) => [number, number];
|
|
885
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__wasm_bindgen_f6cec86e125fc799___JsValue__js_sys_8961d256bb8b8e6d___Set______true_: (a: number, b: number, c: any, d: number, e: any) => void;
|
|
886
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
887
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
888
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__3: (a: number, b: number, c: any) => [number, number];
|
|
889
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__4: (a: number, b: number, c: any) => [number, number];
|
|
890
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
891
|
+
readonly wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
|
|
892
892
|
readonly __externref_table_alloc: () => number;
|
|
893
893
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
894
894
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
package/fragmentcolor.js
CHANGED
|
@@ -3377,7 +3377,7 @@ function __wbg_get_imports() {
|
|
|
3377
3377
|
const a = state0.a;
|
|
3378
3378
|
state0.a = 0;
|
|
3379
3379
|
try {
|
|
3380
|
-
return
|
|
3380
|
+
return wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__wasm_bindgen_f6cec86e125fc799___JsValue__js_sys_8961d256bb8b8e6d___Set______true_(a, state0.b, arg0, arg1, arg2);
|
|
3381
3381
|
} finally {
|
|
3382
3382
|
state0.a = a;
|
|
3383
3383
|
}
|
|
@@ -4039,7 +4039,7 @@ function __wbg_get_imports() {
|
|
|
4039
4039
|
const a = state0.a;
|
|
4040
4040
|
state0.a = 0;
|
|
4041
4041
|
try {
|
|
4042
|
-
return
|
|
4042
|
+
return wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
4043
4043
|
} finally {
|
|
4044
4044
|
state0.a = a;
|
|
4045
4045
|
}
|
|
@@ -5179,28 +5179,28 @@ function __wbg_get_imports() {
|
|
|
5179
5179
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
5180
5180
|
}, arguments); },
|
|
5181
5181
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
5182
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
5183
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5182
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3632, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5183
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_);
|
|
5184
5184
|
return ret;
|
|
5185
5185
|
},
|
|
5186
5186
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
5187
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx:
|
|
5188
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5187
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1318, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5188
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_);
|
|
5189
5189
|
return ret;
|
|
5190
5190
|
},
|
|
5191
5191
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
5192
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx:
|
|
5193
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5192
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 1485, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5193
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
|
|
5194
5194
|
return ret;
|
|
5195
5195
|
},
|
|
5196
5196
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
5197
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx:
|
|
5198
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5197
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1318, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5198
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__3);
|
|
5199
5199
|
return ret;
|
|
5200
5200
|
},
|
|
5201
5201
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
5202
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx:
|
|
5203
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5202
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1318, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5203
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__4);
|
|
5204
5204
|
return ret;
|
|
5205
5205
|
},
|
|
5206
5206
|
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
@@ -5271,44 +5271,44 @@ function __wbg_get_imports() {
|
|
|
5271
5271
|
};
|
|
5272
5272
|
}
|
|
5273
5273
|
|
|
5274
|
-
function
|
|
5275
|
-
wasm.
|
|
5274
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
|
|
5275
|
+
wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
|
|
5276
5276
|
}
|
|
5277
5277
|
|
|
5278
|
-
function
|
|
5279
|
-
const ret = wasm.
|
|
5278
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_(arg0, arg1, arg2) {
|
|
5279
|
+
const ret = wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_(arg0, arg1, arg2);
|
|
5280
5280
|
if (ret[1]) {
|
|
5281
5281
|
throw takeFromExternrefTable0(ret[0]);
|
|
5282
5282
|
}
|
|
5283
5283
|
}
|
|
5284
5284
|
|
|
5285
|
-
function
|
|
5286
|
-
const ret = wasm.
|
|
5285
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_(arg0, arg1, arg2) {
|
|
5286
|
+
const ret = wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true_(arg0, arg1, arg2);
|
|
5287
5287
|
if (ret[1]) {
|
|
5288
5288
|
throw takeFromExternrefTable0(ret[0]);
|
|
5289
5289
|
}
|
|
5290
5290
|
}
|
|
5291
5291
|
|
|
5292
|
-
function
|
|
5293
|
-
const ret = wasm.
|
|
5292
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__3(arg0, arg1, arg2) {
|
|
5293
|
+
const ret = wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__3(arg0, arg1, arg2);
|
|
5294
5294
|
if (ret[1]) {
|
|
5295
5295
|
throw takeFromExternrefTable0(ret[0]);
|
|
5296
5296
|
}
|
|
5297
5297
|
}
|
|
5298
5298
|
|
|
5299
|
-
function
|
|
5300
|
-
const ret = wasm.
|
|
5299
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__4(arg0, arg1, arg2) {
|
|
5300
|
+
const ret = wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___sys__JsOption_wgpu_cddaf16af9388cff___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_f0fd674eaa06beef___result__Result_____wasm_bindgen_f6cec86e125fc799___JsError___true__4(arg0, arg1, arg2);
|
|
5301
5301
|
if (ret[1]) {
|
|
5302
5302
|
throw takeFromExternrefTable0(ret[0]);
|
|
5303
5303
|
}
|
|
5304
5304
|
}
|
|
5305
5305
|
|
|
5306
|
-
function
|
|
5307
|
-
wasm.
|
|
5306
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
5307
|
+
wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined___js_sys_8961d256bb8b8e6d___Function_fn_wasm_bindgen_f6cec86e125fc799___JsValue_____wasm_bindgen_f6cec86e125fc799___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
5308
5308
|
}
|
|
5309
5309
|
|
|
5310
|
-
function
|
|
5311
|
-
wasm.
|
|
5310
|
+
function wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__wasm_bindgen_f6cec86e125fc799___JsValue__js_sys_8961d256bb8b8e6d___Set______true_(arg0, arg1, arg2, arg3, arg4) {
|
|
5311
|
+
wasm.wasm_bindgen_f6cec86e125fc799___convert__closures_____invoke___wasm_bindgen_f6cec86e125fc799___JsValue__wasm_bindgen_f6cec86e125fc799___JsValue__js_sys_8961d256bb8b8e6d___Set______true_(arg0, arg1, arg2, arg3, arg4);
|
|
5312
5312
|
}
|
|
5313
5313
|
|
|
5314
5314
|
|
package/fragmentcolor_bg.wasm
CHANGED
|
Binary file
|