@maptalks/vt 0.119.0 → 0.120.0
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/dist/maptalks.vt.d.ts +269 -49
- package/dist/maptalks.vt.es.js +643 -631
- package/dist/maptalks.vt.es.js.map +1 -1
- package/dist/maptalks.vt.gpu.es.js +643 -631
- package/dist/maptalks.vt.js +729 -717
- package/dist/maptalks.vt.js.map +1 -1
- package/package.json +5 -5
package/dist/maptalks.vt.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.
|
|
2
|
+
* @maptalks/vt v0.120.0
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2026 maptalks.org
|
|
5
5
|
*/
|
|
@@ -107,7 +107,6 @@ declare class VectorTileLayer extends maptalks.TileLayer {
|
|
|
107
107
|
VERSION: string;
|
|
108
108
|
ready: boolean;
|
|
109
109
|
isVectorTileLayer: boolean;
|
|
110
|
-
hasTerrainMask: boolean;
|
|
111
110
|
options: VectorTileLayerOptionsType;
|
|
112
111
|
static loadFrom(url: string, fetchOptions: Record<string, any>): Promise<VectorTileLayer>;
|
|
113
112
|
constructor(id: string, options: VectorTileLayerOptionsType);
|
|
@@ -456,6 +455,7 @@ declare class VectorTileLayer extends maptalks.TileLayer {
|
|
|
456
455
|
type VectorTileLayerOptionsType = {
|
|
457
456
|
renderer?: "gl";
|
|
458
457
|
altitudeProperty?: string;
|
|
458
|
+
features?: boolean;
|
|
459
459
|
schema?: boolean;
|
|
460
460
|
collision?: boolean;
|
|
461
461
|
collisionBuffserSize?: number;
|
|
@@ -824,57 +824,76 @@ declare class TileStencilRenderer {
|
|
|
824
824
|
options: any;
|
|
825
825
|
width: number;
|
|
826
826
|
height: number;
|
|
827
|
+
_destroyed: boolean;
|
|
827
828
|
readonly color: {
|
|
828
829
|
texture: GPUTexture;
|
|
829
830
|
device: any;
|
|
830
831
|
config: any;
|
|
832
|
+
version: number;
|
|
831
833
|
readonly width: any;
|
|
832
834
|
readonly height: any;
|
|
835
|
+
readonly arrayLayers: number;
|
|
833
836
|
updateFilter(): void;
|
|
834
|
-
_clearBindGroups(): void;
|
|
835
837
|
resize(width: any, height: any): void;
|
|
836
838
|
update(config: any): void;
|
|
837
839
|
_updateTexture(): void;
|
|
840
|
+
getMipLevelCount(): any;
|
|
841
|
+
fillData(texture: any, width: any, height: any): void;
|
|
842
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
843
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
844
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
845
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
846
|
+
isArrayData(data: any): boolean;
|
|
838
847
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
839
|
-
addBindGroup(bindGroup: any): void;
|
|
840
848
|
destroy(): void;
|
|
841
849
|
}[];
|
|
842
850
|
resize(width: any, height: any): void;
|
|
843
851
|
_update(): void;
|
|
844
852
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
845
853
|
setClearOptions(options: any): void;
|
|
846
|
-
|
|
854
|
+
resetClearOptions(): void;
|
|
847
855
|
destroy(): void;
|
|
856
|
+
isDestroyed(): boolean;
|
|
848
857
|
};
|
|
849
858
|
getRenderPassEncoder(fbo: {
|
|
850
859
|
device: any;
|
|
851
860
|
options: any;
|
|
852
861
|
width: number;
|
|
853
862
|
height: number;
|
|
863
|
+
_destroyed: boolean;
|
|
854
864
|
readonly color: {
|
|
855
865
|
texture: GPUTexture;
|
|
856
866
|
device: any;
|
|
857
867
|
config: any;
|
|
868
|
+
version: number;
|
|
858
869
|
readonly width: any;
|
|
859
870
|
readonly height: any;
|
|
871
|
+
readonly arrayLayers: number;
|
|
860
872
|
updateFilter(): void;
|
|
861
|
-
_clearBindGroups(): void;
|
|
862
873
|
resize(width: any, height: any): void;
|
|
863
874
|
update(config: any): void;
|
|
864
875
|
_updateTexture(): void;
|
|
876
|
+
getMipLevelCount(): any;
|
|
877
|
+
fillData(texture: any, width: any, height: any): void;
|
|
878
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
879
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
880
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
881
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
882
|
+
isArrayData(data: any): boolean;
|
|
865
883
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
866
|
-
addBindGroup(bindGroup: any): void;
|
|
867
884
|
destroy(): void;
|
|
868
885
|
}[];
|
|
869
886
|
resize(width: any, height: any): void;
|
|
870
887
|
_update(): void;
|
|
871
888
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
872
889
|
setClearOptions(options: any): void;
|
|
873
|
-
|
|
890
|
+
resetClearOptions(): void;
|
|
874
891
|
destroy(): void;
|
|
892
|
+
isDestroyed(): boolean;
|
|
875
893
|
}): GPURenderPassEncoder;
|
|
876
894
|
addCommandBuffer(commandBuffer: GPUCommandBuffer, front: boolean): void;
|
|
877
895
|
submit(): void;
|
|
896
|
+
addToDestroyList(texture: GPUTexture): void;
|
|
878
897
|
preserveDrawingBuffer(canvas: any): void;
|
|
879
898
|
buffer(options: any): any;
|
|
880
899
|
elements(options: any): any;
|
|
@@ -883,41 +902,79 @@ declare class TileStencilRenderer {
|
|
|
883
902
|
options: any;
|
|
884
903
|
width: number;
|
|
885
904
|
height: number;
|
|
905
|
+
_destroyed: boolean;
|
|
886
906
|
readonly color: {
|
|
887
907
|
texture: GPUTexture;
|
|
888
908
|
device: any;
|
|
889
909
|
config: any;
|
|
910
|
+
version: number;
|
|
890
911
|
readonly width: any;
|
|
891
912
|
readonly height: any;
|
|
913
|
+
readonly arrayLayers: number;
|
|
892
914
|
updateFilter(): void;
|
|
893
|
-
_clearBindGroups(): void;
|
|
894
915
|
resize(width: any, height: any): void;
|
|
895
916
|
update(config: any): void;
|
|
896
917
|
_updateTexture(): void;
|
|
918
|
+
getMipLevelCount(): any;
|
|
919
|
+
fillData(texture: any, width: any, height: any): void;
|
|
920
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
921
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
922
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
923
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
924
|
+
isArrayData(data: any): boolean;
|
|
897
925
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
898
|
-
addBindGroup(bindGroup: any): void;
|
|
899
926
|
destroy(): void;
|
|
900
927
|
}[];
|
|
901
928
|
resize(width: any, height: any): void;
|
|
902
929
|
_update(): void;
|
|
903
930
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
904
931
|
setClearOptions(options: any): void;
|
|
905
|
-
|
|
932
|
+
resetClearOptions(): void;
|
|
906
933
|
destroy(): void;
|
|
934
|
+
isDestroyed(): boolean;
|
|
907
935
|
};
|
|
908
936
|
texture(width: any, height?: any): {
|
|
909
937
|
texture: GPUTexture;
|
|
910
938
|
device: any;
|
|
911
939
|
config: any;
|
|
940
|
+
version: number;
|
|
912
941
|
readonly width: any;
|
|
913
942
|
readonly height: any;
|
|
943
|
+
readonly arrayLayers: number;
|
|
914
944
|
updateFilter(): void;
|
|
915
|
-
_clearBindGroups(): void;
|
|
916
945
|
resize(width: any, height: any): void;
|
|
917
946
|
update(config: any): void;
|
|
918
947
|
_updateTexture(): void;
|
|
948
|
+
getMipLevelCount(): any;
|
|
949
|
+
fillData(texture: any, width: any, height: any): void;
|
|
950
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
951
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
952
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
953
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
954
|
+
isArrayData(data: any): boolean;
|
|
955
|
+
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
956
|
+
destroy(): void;
|
|
957
|
+
};
|
|
958
|
+
cube(options: _______________gl_node_modules__maptalks_regl_dist_regl.TextureCubeOptions): {
|
|
959
|
+
readonly arrayLayers: number;
|
|
960
|
+
getMipLevelCount(): any;
|
|
961
|
+
fillData(texture: any, width: any, height: any): void;
|
|
962
|
+
texture: GPUTexture;
|
|
963
|
+
device: any;
|
|
964
|
+
config: any;
|
|
965
|
+
version: number;
|
|
966
|
+
readonly width: any;
|
|
967
|
+
readonly height: any;
|
|
968
|
+
updateFilter(): void;
|
|
969
|
+
resize(width: any, height: any): void;
|
|
970
|
+
update(config: any): void;
|
|
971
|
+
_updateTexture(): void;
|
|
972
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
973
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
974
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
975
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
976
|
+
isArrayData(data: any): boolean;
|
|
919
977
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
920
|
-
addBindGroup(bindGroup: any): void;
|
|
921
978
|
destroy(): void;
|
|
922
979
|
};
|
|
923
980
|
clear(options: any): void;
|
|
@@ -927,7 +984,7 @@ declare class TileStencilRenderer {
|
|
|
927
984
|
resetDrawCalls(): void;
|
|
928
985
|
getDrawCalls(): 0;
|
|
929
986
|
_renderToClear(fbo: any): void;
|
|
930
|
-
|
|
987
|
+
_getClearPipeline(fbo: any): GPURenderPipeline;
|
|
931
988
|
}, mesh: reshader.Mesh, shaderUniforms: {
|
|
932
989
|
meshConfig?: {
|
|
933
990
|
transparent?: boolean;
|
|
@@ -1066,29 +1123,34 @@ declare class TileStencilRenderer {
|
|
|
1066
1123
|
options: any;
|
|
1067
1124
|
width: number;
|
|
1068
1125
|
height: number;
|
|
1126
|
+
_destroyed: boolean;
|
|
1069
1127
|
readonly color: any[];
|
|
1070
1128
|
resize(width: any, height: any): void;
|
|
1071
1129
|
_update(): void;
|
|
1072
1130
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1073
1131
|
setClearOptions(options: any): void;
|
|
1074
|
-
|
|
1132
|
+
resetClearOptions(): void;
|
|
1075
1133
|
destroy(): void;
|
|
1134
|
+
isDestroyed(): boolean;
|
|
1076
1135
|
};
|
|
1077
1136
|
getRenderPassEncoder(fbo: {
|
|
1078
1137
|
device: any;
|
|
1079
1138
|
options: any;
|
|
1080
1139
|
width: number;
|
|
1081
1140
|
height: number;
|
|
1141
|
+
_destroyed: boolean;
|
|
1082
1142
|
readonly color: any[];
|
|
1083
1143
|
resize(width: any, height: any): void;
|
|
1084
1144
|
_update(): void;
|
|
1085
1145
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1086
1146
|
setClearOptions(options: any): void;
|
|
1087
|
-
|
|
1147
|
+
resetClearOptions(): void;
|
|
1088
1148
|
destroy(): void;
|
|
1149
|
+
isDestroyed(): boolean;
|
|
1089
1150
|
}): GPURenderPassEncoder;
|
|
1090
1151
|
addCommandBuffer(commandBuffer: GPUCommandBuffer, front: boolean): void;
|
|
1091
1152
|
submit(): void;
|
|
1153
|
+
addToDestroyList(texture: GPUTexture): void;
|
|
1092
1154
|
preserveDrawingBuffer(canvas: any): void;
|
|
1093
1155
|
buffer(options: any): any;
|
|
1094
1156
|
elements(options: any): any;
|
|
@@ -1097,15 +1159,39 @@ declare class TileStencilRenderer {
|
|
|
1097
1159
|
options: any;
|
|
1098
1160
|
width: number;
|
|
1099
1161
|
height: number;
|
|
1162
|
+
_destroyed: boolean;
|
|
1100
1163
|
readonly color: any[];
|
|
1101
1164
|
resize(width: any, height: any): void;
|
|
1102
1165
|
_update(): void;
|
|
1103
1166
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1104
1167
|
setClearOptions(options: any): void;
|
|
1105
|
-
|
|
1168
|
+
resetClearOptions(): void;
|
|
1106
1169
|
destroy(): void;
|
|
1170
|
+
isDestroyed(): boolean;
|
|
1107
1171
|
};
|
|
1108
1172
|
texture(width: any, height?: any): any;
|
|
1173
|
+
cube(options: _______________gl_node_modules__maptalks_regl_dist_regl.TextureCubeOptions): {
|
|
1174
|
+
readonly arrayLayers: number;
|
|
1175
|
+
getMipLevelCount(): any;
|
|
1176
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1177
|
+
texture: GPUTexture;
|
|
1178
|
+
device: any;
|
|
1179
|
+
config: any;
|
|
1180
|
+
version: number;
|
|
1181
|
+
readonly width: any;
|
|
1182
|
+
readonly height: any;
|
|
1183
|
+
updateFilter(): void;
|
|
1184
|
+
resize(width: any, height: any): void;
|
|
1185
|
+
update(config: any): void;
|
|
1186
|
+
_updateTexture(): void;
|
|
1187
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1188
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1189
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1190
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1191
|
+
isArrayData(data: any): boolean;
|
|
1192
|
+
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1193
|
+
destroy(): void;
|
|
1194
|
+
};
|
|
1109
1195
|
clear(options: any): void;
|
|
1110
1196
|
read(options: any): any;
|
|
1111
1197
|
destroy(): void;
|
|
@@ -1113,18 +1199,25 @@ declare class TileStencilRenderer {
|
|
|
1113
1199
|
resetDrawCalls(): void;
|
|
1114
1200
|
getDrawCalls(): 0;
|
|
1115
1201
|
_renderToClear(fbo: any): void;
|
|
1116
|
-
|
|
1202
|
+
_getClearPipeline(fbo: any): GPURenderPipeline;
|
|
1117
1203
|
};
|
|
1118
1204
|
config: any;
|
|
1205
|
+
version: number;
|
|
1119
1206
|
readonly width: any;
|
|
1120
1207
|
readonly height: any;
|
|
1208
|
+
readonly arrayLayers: number;
|
|
1121
1209
|
updateFilter(): void;
|
|
1122
|
-
_clearBindGroups(): void;
|
|
1123
1210
|
resize(width: any, height: any): void;
|
|
1124
1211
|
update(config: any): void;
|
|
1125
1212
|
_updateTexture(): void;
|
|
1213
|
+
getMipLevelCount(): any;
|
|
1214
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1215
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1216
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1217
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1218
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1219
|
+
isArrayData(data: any): boolean;
|
|
1126
1220
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1127
|
-
addBindGroup(bindGroup: any): void;
|
|
1128
1221
|
destroy(): void;
|
|
1129
1222
|
});
|
|
1130
1223
|
}, layout: GPUBindGroupLayout, shaderBuffer: {
|
|
@@ -1292,29 +1385,34 @@ declare class TileStencilRenderer {
|
|
|
1292
1385
|
options: any;
|
|
1293
1386
|
width: number;
|
|
1294
1387
|
height: number;
|
|
1388
|
+
_destroyed: boolean;
|
|
1295
1389
|
readonly color: any[];
|
|
1296
1390
|
resize(width: any, height: any): void;
|
|
1297
1391
|
_update(): void;
|
|
1298
1392
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1299
1393
|
setClearOptions(options: any): void;
|
|
1300
|
-
|
|
1394
|
+
resetClearOptions(): void;
|
|
1301
1395
|
destroy(): void;
|
|
1396
|
+
isDestroyed(): boolean;
|
|
1302
1397
|
};
|
|
1303
1398
|
getRenderPassEncoder(fbo: {
|
|
1304
1399
|
device: any;
|
|
1305
1400
|
options: any;
|
|
1306
1401
|
width: number;
|
|
1307
1402
|
height: number;
|
|
1403
|
+
_destroyed: boolean;
|
|
1308
1404
|
readonly color: any[];
|
|
1309
1405
|
resize(width: any, height: any): void;
|
|
1310
1406
|
_update(): void;
|
|
1311
1407
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1312
1408
|
setClearOptions(options: any): void;
|
|
1313
|
-
|
|
1409
|
+
resetClearOptions(): void;
|
|
1314
1410
|
destroy(): void;
|
|
1411
|
+
isDestroyed(): boolean;
|
|
1315
1412
|
}): GPURenderPassEncoder;
|
|
1316
1413
|
addCommandBuffer(commandBuffer: GPUCommandBuffer, front: boolean): void;
|
|
1317
1414
|
submit(): void;
|
|
1415
|
+
addToDestroyList(texture: GPUTexture): void;
|
|
1318
1416
|
preserveDrawingBuffer(canvas: any): void;
|
|
1319
1417
|
buffer(options: any): any;
|
|
1320
1418
|
elements(options: any): any;
|
|
@@ -1323,15 +1421,39 @@ declare class TileStencilRenderer {
|
|
|
1323
1421
|
options: any;
|
|
1324
1422
|
width: number;
|
|
1325
1423
|
height: number;
|
|
1424
|
+
_destroyed: boolean;
|
|
1326
1425
|
readonly color: any[];
|
|
1327
1426
|
resize(width: any, height: any): void;
|
|
1328
1427
|
_update(): void;
|
|
1329
1428
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1330
1429
|
setClearOptions(options: any): void;
|
|
1331
|
-
|
|
1430
|
+
resetClearOptions(): void;
|
|
1332
1431
|
destroy(): void;
|
|
1432
|
+
isDestroyed(): boolean;
|
|
1333
1433
|
};
|
|
1334
1434
|
texture(width: any, height?: any): any;
|
|
1435
|
+
cube(options: _______________gl_node_modules__maptalks_regl_dist_regl.TextureCubeOptions): {
|
|
1436
|
+
readonly arrayLayers: number;
|
|
1437
|
+
getMipLevelCount(): any;
|
|
1438
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1439
|
+
texture: GPUTexture;
|
|
1440
|
+
device: any;
|
|
1441
|
+
config: any;
|
|
1442
|
+
version: number;
|
|
1443
|
+
readonly width: any;
|
|
1444
|
+
readonly height: any;
|
|
1445
|
+
updateFilter(): void;
|
|
1446
|
+
resize(width: any, height: any): void;
|
|
1447
|
+
update(config: any): void;
|
|
1448
|
+
_updateTexture(): void;
|
|
1449
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1450
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1451
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1452
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1453
|
+
isArrayData(data: any): boolean;
|
|
1454
|
+
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1455
|
+
destroy(): void;
|
|
1456
|
+
};
|
|
1335
1457
|
clear(options: any): void;
|
|
1336
1458
|
read(options: any): any;
|
|
1337
1459
|
destroy(): void;
|
|
@@ -1339,18 +1461,25 @@ declare class TileStencilRenderer {
|
|
|
1339
1461
|
resetDrawCalls(): void;
|
|
1340
1462
|
getDrawCalls(): 0;
|
|
1341
1463
|
_renderToClear(fbo: any): void;
|
|
1342
|
-
|
|
1464
|
+
_getClearPipeline(fbo: any): GPURenderPipeline;
|
|
1343
1465
|
};
|
|
1344
1466
|
config: any;
|
|
1467
|
+
version: number;
|
|
1345
1468
|
readonly width: any;
|
|
1346
1469
|
readonly height: any;
|
|
1470
|
+
readonly arrayLayers: number;
|
|
1347
1471
|
updateFilter(): void;
|
|
1348
|
-
_clearBindGroups(): void;
|
|
1349
1472
|
resize(width: any, height: any): void;
|
|
1350
1473
|
update(config: any): void;
|
|
1351
1474
|
_updateTexture(): void;
|
|
1475
|
+
getMipLevelCount(): any;
|
|
1476
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1477
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1478
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1479
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1480
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1481
|
+
isArrayData(data: any): boolean;
|
|
1352
1482
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1353
|
-
addBindGroup(bindGroup: any): void;
|
|
1354
1483
|
destroy(): void;
|
|
1355
1484
|
})>, dynamicOffsets: {
|
|
1356
1485
|
items: any[];
|
|
@@ -1529,29 +1658,34 @@ declare class TileStencilRenderer {
|
|
|
1529
1658
|
options: any;
|
|
1530
1659
|
width: number;
|
|
1531
1660
|
height: number;
|
|
1661
|
+
_destroyed: boolean;
|
|
1532
1662
|
readonly color: any[];
|
|
1533
1663
|
resize(width: any, height: any): void;
|
|
1534
1664
|
_update(): void;
|
|
1535
1665
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1536
1666
|
setClearOptions(options: any): void;
|
|
1537
|
-
|
|
1667
|
+
resetClearOptions(): void;
|
|
1538
1668
|
destroy(): void;
|
|
1669
|
+
isDestroyed(): boolean;
|
|
1539
1670
|
};
|
|
1540
1671
|
getRenderPassEncoder(fbo: {
|
|
1541
1672
|
device: any;
|
|
1542
1673
|
options: any;
|
|
1543
1674
|
width: number;
|
|
1544
1675
|
height: number;
|
|
1676
|
+
_destroyed: boolean;
|
|
1545
1677
|
readonly color: any[];
|
|
1546
1678
|
resize(width: any, height: any): void;
|
|
1547
1679
|
_update(): void;
|
|
1548
1680
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1549
1681
|
setClearOptions(options: any): void;
|
|
1550
|
-
|
|
1682
|
+
resetClearOptions(): void;
|
|
1551
1683
|
destroy(): void;
|
|
1684
|
+
isDestroyed(): boolean;
|
|
1552
1685
|
}): GPURenderPassEncoder;
|
|
1553
1686
|
addCommandBuffer(commandBuffer: GPUCommandBuffer, front: boolean): void;
|
|
1554
1687
|
submit(): void;
|
|
1688
|
+
addToDestroyList(texture: GPUTexture): void;
|
|
1555
1689
|
preserveDrawingBuffer(canvas: any): void;
|
|
1556
1690
|
buffer(options: any): any;
|
|
1557
1691
|
elements(options: any): any;
|
|
@@ -1560,15 +1694,39 @@ declare class TileStencilRenderer {
|
|
|
1560
1694
|
options: any;
|
|
1561
1695
|
width: number;
|
|
1562
1696
|
height: number;
|
|
1697
|
+
_destroyed: boolean;
|
|
1563
1698
|
readonly color: any[];
|
|
1564
1699
|
resize(width: any, height: any): void;
|
|
1565
1700
|
_update(): void;
|
|
1566
1701
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1567
1702
|
setClearOptions(options: any): void;
|
|
1568
|
-
|
|
1703
|
+
resetClearOptions(): void;
|
|
1569
1704
|
destroy(): void;
|
|
1705
|
+
isDestroyed(): boolean;
|
|
1570
1706
|
};
|
|
1571
1707
|
texture(width: any, height?: any): any;
|
|
1708
|
+
cube(options: _______________gl_node_modules__maptalks_regl_dist_regl.TextureCubeOptions): {
|
|
1709
|
+
readonly arrayLayers: number;
|
|
1710
|
+
getMipLevelCount(): any;
|
|
1711
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1712
|
+
texture: GPUTexture;
|
|
1713
|
+
device: any;
|
|
1714
|
+
config: any;
|
|
1715
|
+
version: number;
|
|
1716
|
+
readonly width: any;
|
|
1717
|
+
readonly height: any;
|
|
1718
|
+
updateFilter(): void;
|
|
1719
|
+
resize(width: any, height: any): void;
|
|
1720
|
+
update(config: any): void;
|
|
1721
|
+
_updateTexture(): void;
|
|
1722
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1723
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1724
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1725
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1726
|
+
isArrayData(data: any): boolean;
|
|
1727
|
+
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1728
|
+
destroy(): void;
|
|
1729
|
+
};
|
|
1572
1730
|
clear(options: any): void;
|
|
1573
1731
|
read(options: any): any;
|
|
1574
1732
|
destroy(): void;
|
|
@@ -1576,18 +1734,25 @@ declare class TileStencilRenderer {
|
|
|
1576
1734
|
resetDrawCalls(): void;
|
|
1577
1735
|
getDrawCalls(): 0;
|
|
1578
1736
|
_renderToClear(fbo: any): void;
|
|
1579
|
-
|
|
1737
|
+
_getClearPipeline(fbo: any): GPURenderPipeline;
|
|
1580
1738
|
};
|
|
1581
1739
|
config: any;
|
|
1740
|
+
version: number;
|
|
1582
1741
|
readonly width: any;
|
|
1583
1742
|
readonly height: any;
|
|
1743
|
+
readonly arrayLayers: number;
|
|
1584
1744
|
updateFilter(): void;
|
|
1585
|
-
_clearBindGroups(): void;
|
|
1586
1745
|
resize(width: any, height: any): void;
|
|
1587
1746
|
update(config: any): void;
|
|
1588
1747
|
_updateTexture(): void;
|
|
1748
|
+
getMipLevelCount(): any;
|
|
1749
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1750
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1751
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1752
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1753
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1754
|
+
isArrayData(data: any): boolean;
|
|
1589
1755
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1590
|
-
addBindGroup(bindGroup: any): void;
|
|
1591
1756
|
destroy(): void;
|
|
1592
1757
|
})>, dynamicOffsets: {
|
|
1593
1758
|
items: any[];
|
|
@@ -1603,12 +1768,10 @@ declare class TileStencilRenderer {
|
|
|
1603
1768
|
dispose(): void;
|
|
1604
1769
|
}): {
|
|
1605
1770
|
bindGroup: GPUBindGroup;
|
|
1606
|
-
outdated: boolean;
|
|
1607
1771
|
uniformTextures?: any;
|
|
1608
1772
|
};
|
|
1609
1773
|
copyTextures(bindGroup: {
|
|
1610
1774
|
bindGroup: GPUBindGroup;
|
|
1611
|
-
outdated: boolean;
|
|
1612
1775
|
uniformTextures?: any;
|
|
1613
1776
|
}, props: any): void;
|
|
1614
1777
|
dispose(): void;
|
|
@@ -1621,9 +1784,8 @@ declare class TileStencilRenderer {
|
|
|
1621
1784
|
key: string;
|
|
1622
1785
|
};
|
|
1623
1786
|
}, props: any): any;
|
|
1624
|
-
|
|
1787
|
+
_checkBindGroupOutdated(bindGroup: {
|
|
1625
1788
|
bindGroup: GPUBindGroup;
|
|
1626
|
-
outdated: boolean;
|
|
1627
1789
|
uniformTextures?: any;
|
|
1628
1790
|
}, props: any): boolean;
|
|
1629
1791
|
_getCurrentRenderPassEncoder(device: {
|
|
@@ -1639,57 +1801,76 @@ declare class TileStencilRenderer {
|
|
|
1639
1801
|
options: any;
|
|
1640
1802
|
width: number;
|
|
1641
1803
|
height: number;
|
|
1804
|
+
_destroyed: boolean;
|
|
1642
1805
|
readonly color: {
|
|
1643
1806
|
texture: GPUTexture;
|
|
1644
1807
|
device: any;
|
|
1645
1808
|
config: any;
|
|
1809
|
+
version: number;
|
|
1646
1810
|
readonly width: any;
|
|
1647
1811
|
readonly height: any;
|
|
1812
|
+
readonly arrayLayers: number;
|
|
1648
1813
|
updateFilter(): void;
|
|
1649
|
-
_clearBindGroups(): void;
|
|
1650
1814
|
resize(width: any, height: any): void;
|
|
1651
1815
|
update(config: any): void;
|
|
1652
1816
|
_updateTexture(): void;
|
|
1817
|
+
getMipLevelCount(): any;
|
|
1818
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1819
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1820
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1821
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1822
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1823
|
+
isArrayData(data: any): boolean;
|
|
1653
1824
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1654
|
-
addBindGroup(bindGroup: any): void;
|
|
1655
1825
|
destroy(): void;
|
|
1656
1826
|
}[];
|
|
1657
1827
|
resize(width: any, height: any): void;
|
|
1658
1828
|
_update(): void;
|
|
1659
1829
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1660
1830
|
setClearOptions(options: any): void;
|
|
1661
|
-
|
|
1831
|
+
resetClearOptions(): void;
|
|
1662
1832
|
destroy(): void;
|
|
1833
|
+
isDestroyed(): boolean;
|
|
1663
1834
|
};
|
|
1664
1835
|
getRenderPassEncoder(fbo: {
|
|
1665
1836
|
device: any;
|
|
1666
1837
|
options: any;
|
|
1667
1838
|
width: number;
|
|
1668
1839
|
height: number;
|
|
1840
|
+
_destroyed: boolean;
|
|
1669
1841
|
readonly color: {
|
|
1670
1842
|
texture: GPUTexture;
|
|
1671
1843
|
device: any;
|
|
1672
1844
|
config: any;
|
|
1845
|
+
version: number;
|
|
1673
1846
|
readonly width: any;
|
|
1674
1847
|
readonly height: any;
|
|
1848
|
+
readonly arrayLayers: number;
|
|
1675
1849
|
updateFilter(): void;
|
|
1676
|
-
_clearBindGroups(): void;
|
|
1677
1850
|
resize(width: any, height: any): void;
|
|
1678
1851
|
update(config: any): void;
|
|
1679
1852
|
_updateTexture(): void;
|
|
1853
|
+
getMipLevelCount(): any;
|
|
1854
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1855
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1856
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1857
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1858
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1859
|
+
isArrayData(data: any): boolean;
|
|
1680
1860
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1681
|
-
addBindGroup(bindGroup: any): void;
|
|
1682
1861
|
destroy(): void;
|
|
1683
1862
|
}[];
|
|
1684
1863
|
resize(width: any, height: any): void;
|
|
1685
1864
|
_update(): void;
|
|
1686
1865
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1687
1866
|
setClearOptions(options: any): void;
|
|
1688
|
-
|
|
1867
|
+
resetClearOptions(): void;
|
|
1689
1868
|
destroy(): void;
|
|
1869
|
+
isDestroyed(): boolean;
|
|
1690
1870
|
}): GPURenderPassEncoder;
|
|
1691
1871
|
addCommandBuffer(commandBuffer: GPUCommandBuffer, front: boolean): void;
|
|
1692
1872
|
submit(): void;
|
|
1873
|
+
addToDestroyList(texture: GPUTexture): void;
|
|
1693
1874
|
preserveDrawingBuffer(canvas: any): void;
|
|
1694
1875
|
buffer(options: any): any;
|
|
1695
1876
|
elements(options: any): any;
|
|
@@ -1698,41 +1879,79 @@ declare class TileStencilRenderer {
|
|
|
1698
1879
|
options: any;
|
|
1699
1880
|
width: number;
|
|
1700
1881
|
height: number;
|
|
1882
|
+
_destroyed: boolean;
|
|
1701
1883
|
readonly color: {
|
|
1702
1884
|
texture: GPUTexture;
|
|
1703
1885
|
device: any;
|
|
1704
1886
|
config: any;
|
|
1887
|
+
version: number;
|
|
1705
1888
|
readonly width: any;
|
|
1706
1889
|
readonly height: any;
|
|
1890
|
+
readonly arrayLayers: number;
|
|
1707
1891
|
updateFilter(): void;
|
|
1708
|
-
_clearBindGroups(): void;
|
|
1709
1892
|
resize(width: any, height: any): void;
|
|
1710
1893
|
update(config: any): void;
|
|
1711
1894
|
_updateTexture(): void;
|
|
1895
|
+
getMipLevelCount(): any;
|
|
1896
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1897
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1898
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1899
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1900
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1901
|
+
isArrayData(data: any): boolean;
|
|
1712
1902
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1713
|
-
addBindGroup(bindGroup: any): void;
|
|
1714
1903
|
destroy(): void;
|
|
1715
1904
|
}[];
|
|
1716
1905
|
resize(width: any, height: any): void;
|
|
1717
1906
|
_update(): void;
|
|
1718
1907
|
getRenderPassDescriptor(): GPURenderPassDescriptor;
|
|
1719
1908
|
setClearOptions(options: any): void;
|
|
1720
|
-
|
|
1909
|
+
resetClearOptions(): void;
|
|
1721
1910
|
destroy(): void;
|
|
1911
|
+
isDestroyed(): boolean;
|
|
1722
1912
|
};
|
|
1723
1913
|
texture(width: any, height?: any): {
|
|
1724
1914
|
texture: GPUTexture;
|
|
1725
1915
|
device: any;
|
|
1726
1916
|
config: any;
|
|
1917
|
+
version: number;
|
|
1918
|
+
readonly width: any;
|
|
1919
|
+
readonly height: any;
|
|
1920
|
+
readonly arrayLayers: number;
|
|
1921
|
+
updateFilter(): void;
|
|
1922
|
+
resize(width: any, height: any): void;
|
|
1923
|
+
update(config: any): void;
|
|
1924
|
+
_updateTexture(): void;
|
|
1925
|
+
getMipLevelCount(): any;
|
|
1926
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1927
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1928
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1929
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1930
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1931
|
+
isArrayData(data: any): boolean;
|
|
1932
|
+
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1933
|
+
destroy(): void;
|
|
1934
|
+
};
|
|
1935
|
+
cube(options: _______________gl_node_modules__maptalks_regl_dist_regl.TextureCubeOptions): {
|
|
1936
|
+
readonly arrayLayers: number;
|
|
1937
|
+
getMipLevelCount(): any;
|
|
1938
|
+
fillData(texture: any, width: any, height: any): void;
|
|
1939
|
+
texture: GPUTexture;
|
|
1940
|
+
device: any;
|
|
1941
|
+
config: any;
|
|
1942
|
+
version: number;
|
|
1727
1943
|
readonly width: any;
|
|
1728
1944
|
readonly height: any;
|
|
1729
1945
|
updateFilter(): void;
|
|
1730
|
-
_clearBindGroups(): void;
|
|
1731
1946
|
resize(width: any, height: any): void;
|
|
1732
1947
|
update(config: any): void;
|
|
1733
1948
|
_updateTexture(): void;
|
|
1949
|
+
fillImageData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1950
|
+
fillArrayData(texture: any, data: any, width: any, height: any, origin: any): void;
|
|
1951
|
+
_fillMipmap(texture: any, mipLevel: any, data: any, width: any, height: any, origin: any): void;
|
|
1952
|
+
formatTextureArray(data: any, arrayBuffer: any, width: any, height: any): any;
|
|
1953
|
+
isArrayData(data: any): boolean;
|
|
1734
1954
|
getView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
1735
|
-
addBindGroup(bindGroup: any): void;
|
|
1736
1955
|
destroy(): void;
|
|
1737
1956
|
};
|
|
1738
1957
|
clear(options: any): void;
|
|
@@ -1742,7 +1961,7 @@ declare class TileStencilRenderer {
|
|
|
1742
1961
|
resetDrawCalls(): void;
|
|
1743
1962
|
getDrawCalls(): 0;
|
|
1744
1963
|
_renderToClear(fbo: any): void;
|
|
1745
|
-
|
|
1964
|
+
_getClearPipeline(fbo: any): GPURenderPipeline;
|
|
1746
1965
|
}): GPURenderPassEncoder;
|
|
1747
1966
|
setFramebuffer(framebuffer: any): any;
|
|
1748
1967
|
dispose(): void;
|
|
@@ -1867,6 +2086,7 @@ declare const VectorTileLayerRenderer_base: (new (...args: any[]) => {
|
|
|
1867
2086
|
isTileCached(tileId: string): boolean;
|
|
1868
2087
|
isTileFadingIn(tileImage: maptalks_dist_renderer_layer_tilelayer_TileLayerRendererable.TileImage): boolean;
|
|
1869
2088
|
_drawTiles(tiles: any, parentTiles: any, childTiles: any, placeholders: any, parentContext: any, missedTiles: any, incompleteTiles: any): void;
|
|
2089
|
+
_drawCurrentTiles(tiles: any, parentContext: any): void;
|
|
1870
2090
|
_drawChildTiles(childTiles: any, parentContext: any): void;
|
|
1871
2091
|
_drawParentTiles(parentTiles: any, parentContext: any): void;
|
|
1872
2092
|
onDrawTileStart(context: any, parentContext: any): void;
|
|
@@ -2355,7 +2575,7 @@ declare class VectorTileLayerRenderer extends VectorTileLayerRenderer_base {
|
|
|
2355
2575
|
renderTerrainSkin(terrainRegl: any, terrainLayer: any, skinImages: any): void;
|
|
2356
2576
|
isRenderingTerrainSkin: boolean;
|
|
2357
2577
|
_drawTerrainTile(tile: any): void;
|
|
2358
|
-
_endTerrainFrame(
|
|
2578
|
+
_endTerrainFrame(skinImage: any): void;
|
|
2359
2579
|
drawTile(tileInfo: any, tileData: any, filter: any): void;
|
|
2360
2580
|
_createOneTile(tileInfo: any, tileData: any): void;
|
|
2361
2581
|
checkTileInQueue(tileData: any): boolean;
|