@flighthq/types 0.3.0-next.1032.e2b99fc → 0.3.0-next.1220.6982c21
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/Accelerator.d.ts.map +1 -1
- package/dist/AlphaType.d.ts +1 -1
- package/dist/ApplicationRenderView.d.ts +3 -3
- package/dist/ApplicationRenderView.d.ts.map +1 -1
- package/dist/AttachmentSkin2D.d.ts +11 -0
- package/dist/AttachmentSkin2D.d.ts.map +1 -0
- package/dist/AttachmentSkin2D.js +2 -0
- package/dist/AttachmentSkin2D.js.map +1 -0
- package/dist/Bitmap.d.ts +5 -5
- package/dist/Bitmap.d.ts.map +1 -1
- package/dist/BitmapReadback.d.ts +6 -0
- package/dist/BitmapReadback.d.ts.map +1 -0
- package/dist/BitmapReadback.js +2 -0
- package/dist/BitmapReadback.js.map +1 -0
- package/dist/Bone2D.d.ts +2 -2
- package/dist/Bone2D.d.ts.map +1 -1
- package/dist/CanvasRenderState.d.ts +2 -2
- package/dist/CanvasRenderState.d.ts.map +1 -1
- package/dist/CanvasRenderTarget.d.ts +2 -2
- package/dist/CanvasRenderTarget.d.ts.map +1 -1
- package/dist/CompressedImage.d.ts +5 -5
- package/dist/CompressedImage.d.ts.map +1 -1
- package/dist/CreateCubeTextureOptions.d.ts +2 -3
- package/dist/CreateCubeTextureOptions.d.ts.map +1 -1
- package/dist/CreateTextureOptions.d.ts +7 -1
- package/dist/CreateTextureOptions.d.ts.map +1 -1
- package/dist/CubeTexture.d.ts +3 -6
- package/dist/CubeTexture.d.ts.map +1 -1
- package/dist/DomRenderState.d.ts +2 -2
- package/dist/DomRenderState.d.ts.map +1 -1
- package/dist/ExternalTexture.d.ts +10 -0
- package/dist/ExternalTexture.d.ts.map +1 -0
- package/dist/ExternalTexture.js +2 -0
- package/dist/ExternalTexture.js.map +1 -0
- package/dist/GlRenderState.d.ts +11 -9
- package/dist/GlRenderState.d.ts.map +1 -1
- package/dist/GlRenderTarget.d.ts +6 -2
- package/dist/GlRenderTarget.d.ts.map +1 -1
- package/dist/GlRenderTexture.d.ts +9 -2
- package/dist/GlRenderTexture.d.ts.map +1 -1
- package/dist/GlobalShortcutExplanation.d.ts +12 -0
- package/dist/GlobalShortcutExplanation.d.ts.map +1 -0
- package/dist/GlobalShortcutExplanation.js +2 -0
- package/dist/GlobalShortcutExplanation.js.map +1 -0
- package/dist/GlyphSource.d.ts +5 -3
- package/dist/GlyphSource.d.ts.map +1 -1
- package/dist/Image.d.ts +15 -0
- package/dist/Image.d.ts.map +1 -0
- package/dist/Image.js +2 -0
- package/dist/Image.js.map +1 -0
- package/dist/ImageResourceReference.js +1 -1
- package/dist/ImageResourceReference.js.map +1 -1
- package/dist/LottieDocumentImport.d.ts +2 -2
- package/dist/LottieDocumentImport.d.ts.map +1 -1
- package/dist/Menu.d.ts +3 -0
- package/dist/Menu.d.ts.map +1 -1
- package/dist/ParsedAccelerator.d.ts +2 -1
- package/dist/ParsedAccelerator.d.ts.map +1 -1
- package/dist/Physics2D.d.ts +72 -0
- package/dist/Physics2D.d.ts.map +1 -1
- package/dist/RenderEffectPadding.d.ts +16 -0
- package/dist/RenderEffectPadding.d.ts.map +1 -0
- package/dist/RenderEffectPadding.js +2 -0
- package/dist/RenderEffectPadding.js.map +1 -0
- package/dist/RenderRegistrySignals.d.ts +20 -0
- package/dist/RenderRegistrySignals.d.ts.map +1 -0
- package/dist/RenderRegistrySignals.js +10 -0
- package/dist/RenderRegistrySignals.js.map +1 -0
- package/dist/RenderState.d.ts +6 -0
- package/dist/RenderState.d.ts.map +1 -1
- package/dist/RenderTarget.d.ts +31 -1
- package/dist/RenderTarget.d.ts.map +1 -1
- package/dist/RenderTarget.js +0 -4
- package/dist/RenderTarget.js.map +1 -1
- package/dist/RenderTexture.d.ts +4 -9
- package/dist/RenderTexture.d.ts.map +1 -1
- package/dist/ResourceLoadBytesReporter.d.ts +2 -0
- package/dist/ResourceLoadBytesReporter.d.ts.map +1 -0
- package/dist/ResourceLoadBytesReporter.js +2 -0
- package/dist/ResourceLoadBytesReporter.js.map +1 -0
- package/dist/ResourceLoadItem.d.ts +2 -1
- package/dist/ResourceLoadItem.d.ts.map +1 -1
- package/dist/Scene3DResources.d.ts +4 -4
- package/dist/Scene3DResources.d.ts.map +1 -1
- package/dist/Share.d.ts +1 -1
- package/dist/Share.d.ts.map +1 -1
- package/dist/ShortcutDrop.d.ts +11 -0
- package/dist/ShortcutDrop.d.ts.map +1 -0
- package/dist/ShortcutDrop.js +2 -0
- package/dist/ShortcutDrop.js.map +1 -0
- package/dist/ShortcutKeyName.d.ts +11 -0
- package/dist/ShortcutKeyName.d.ts.map +1 -0
- package/dist/ShortcutKeyName.js +2 -0
- package/dist/ShortcutKeyName.js.map +1 -0
- package/dist/Skeleton2D.d.ts +2 -0
- package/dist/Skeleton2D.d.ts.map +1 -1
- package/dist/Skeleton2DSlotAnimationTarget.d.ts +12 -0
- package/dist/Skeleton2DSlotAnimationTarget.d.ts.map +1 -0
- package/dist/Skeleton2DSlotAnimationTarget.js +18 -0
- package/dist/Skeleton2DSlotAnimationTarget.js.map +1 -0
- package/dist/Spatial.d.ts +4 -2
- package/dist/Spatial.d.ts.map +1 -1
- package/dist/Spatial.js +0 -8
- package/dist/Spatial.js.map +1 -1
- package/dist/SpatialIndexing.d.ts +17 -0
- package/dist/SpatialIndexing.d.ts.map +1 -0
- package/dist/SpatialIndexing.js +2 -0
- package/dist/SpatialIndexing.js.map +1 -0
- package/dist/SvgDocumentImport.d.ts +3 -3
- package/dist/SvgDocumentImport.d.ts.map +1 -1
- package/dist/Texture.d.ts +28 -4
- package/dist/Texture.d.ts.map +1 -1
- package/dist/TextureAtlas.d.ts +2 -2
- package/dist/TextureAtlas.d.ts.map +1 -1
- package/dist/TextureAtlasParseOptions.d.ts +4 -0
- package/dist/TextureAtlasParseOptions.d.ts.map +1 -0
- package/dist/TextureAtlasParseOptions.js +2 -0
- package/dist/TextureAtlasParseOptions.js.map +1 -0
- package/dist/TextureAtlasRegionTextureExplanation.d.ts +7 -0
- package/dist/TextureAtlasRegionTextureExplanation.d.ts.map +1 -0
- package/dist/TextureAtlasRegionTextureExplanation.js +2 -0
- package/dist/TextureAtlasRegionTextureExplanation.js.map +1 -0
- package/dist/TextureCubeFace.js +1 -1
- package/dist/TextureCubeFace.js.map +1 -1
- package/dist/TextureResolutionExplanation.d.ts +11 -0
- package/dist/TextureResolutionExplanation.d.ts.map +1 -0
- package/dist/TextureResolutionExplanation.js +2 -0
- package/dist/TextureResolutionExplanation.js.map +1 -0
- package/dist/{ImageBacking.d.ts → TextureSource.d.ts} +7 -7
- package/dist/TextureSource.d.ts.map +1 -0
- package/dist/TextureSource.js +2 -0
- package/dist/TextureSource.js.map +1 -0
- package/dist/TextureSourceKind.d.ts +8 -0
- package/dist/TextureSourceKind.d.ts.map +1 -0
- package/dist/TextureSourceKind.js +7 -0
- package/dist/TextureSourceKind.js.map +1 -0
- package/dist/TransformInherit2D.d.ts +7 -0
- package/dist/TransformInherit2D.d.ts.map +1 -0
- package/dist/TransformInherit2D.js +2 -0
- package/dist/TransformInherit2D.js.map +1 -0
- package/dist/TransformMode2D.d.ts +30 -6
- package/dist/TransformMode2D.d.ts.map +1 -1
- package/dist/TransformMode2D.js +17 -17
- package/dist/TransformMode2D.js.map +1 -1
- package/dist/VideoResource.d.ts +1 -0
- package/dist/VideoResource.d.ts.map +1 -1
- package/dist/VoxelGrid.d.ts +10 -0
- package/dist/VoxelGrid.d.ts.map +1 -0
- package/dist/VoxelGrid.js +2 -0
- package/dist/VoxelGrid.js.map +1 -0
- package/dist/WgpuRenderState.d.ts +10 -10
- package/dist/WgpuRenderState.d.ts.map +1 -1
- package/dist/WgpuRenderTarget.d.ts +2 -2
- package/dist/WgpuRenderTarget.d.ts.map +1 -1
- package/dist/contract.d.ts +19 -6
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +19 -6
- package/dist/contract.js.map +1 -1
- package/dist/index.d.ts +19 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/ImageBacking.d.ts.map +0 -1
- package/dist/ImageBacking.js +0 -2
- package/dist/ImageBacking.js.map +0 -1
- package/dist/ImageResource.d.ts +0 -19
- package/dist/ImageResource.d.ts.map +0 -1
- package/dist/ImageResource.js +0 -2
- package/dist/ImageResource.js.map +0 -1
- package/dist/TextureBackingKind.d.ts +0 -9
- package/dist/TextureBackingKind.d.ts.map +0 -1
- package/dist/TextureBackingKind.js +0 -8
- package/dist/TextureBackingKind.js.map +0 -1
- package/dist/TextureStorage.d.ts +0 -37
- package/dist/TextureStorage.d.ts.map +0 -1
- package/dist/TextureStorage.js +0 -2
- package/dist/TextureStorage.js.map +0 -1
- package/dist/TextureTargetBacking.d.ts +0 -6
- package/dist/TextureTargetBacking.d.ts.map +0 -1
- package/dist/TextureTargetBacking.js +0 -2
- package/dist/TextureTargetBacking.js.map +0 -1
- package/dist/TextureVolume.d.ts +0 -13
- package/dist/TextureVolume.d.ts.map +0 -1
- package/dist/TextureVolume.js +0 -2
- package/dist/TextureVolume.js.map +0 -1
package/dist/Spatial.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spatial.d.ts","sourceRoot":"","sources":["../src/Spatial.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spatial.d.ts","sourceRoot":"","sources":["../src/Spatial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAcpE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAMrC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAKD,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,eAAe,CAAC;IACnB,CAAC,EAAE,eAAe,CAAC;CACpB;AASD,MAAM,WAAW,mBAAmB;IAMlC,mBAAmB,CAAC,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;IAKjF,mBAAmB,CAAC,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;IAEjF,mBAAmB,CAAC,EAAE,EAAE,eAAe,GAAG,IAAI,CAAC;IAE/C,iBAAiB,IAAI,IAAI,CAAC;IAI1B,sBAAsB,CAAC,EAAE,EAAE,eAAe,GAAG,0BAA0B,CAAC;IAExE,iBAAiB,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAE5C,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAEhF,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAEtE,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;CAC7F;AAID,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAMD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,mBAAmB,CAAC;CAC9B"}
|
package/dist/Spatial.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
// 2D broadphase header. `@flighthq/spatial` is the acceleration structure in front of
|
|
2
|
-
// `@flighthq/collision`'s narrow-phase: a spatial index over many objects' axis-aligned bounds that
|
|
3
|
-
// answers "which pairs are close enough to be worth a narrow-phase test?" and "which objects overlap
|
|
4
|
-
// this region / point / ray?" without testing every object against every other. It holds bounds +
|
|
5
|
-
// an opaque id per object — never the object's concrete shape, velocity, or display node — so a
|
|
6
|
-
// candidate pair it returns is *confirmed* downstream by narrow-phase (or by the caller). The seam
|
|
7
|
-
// (SpatialIndexBackend) lets the underlying structure swap by workload: a uniform grid is the P1
|
|
8
|
-
// default, with quadtree / sort-and-sweep as later drop-in alternates behind the same operations.
|
|
9
1
|
export {};
|
|
10
2
|
//# sourceMappingURL=Spatial.js.map
|
package/dist/Spatial.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spatial.js","sourceRoot":"","sources":["../src/Spatial.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spatial.js","sourceRoot":"","sources":["../src/Spatial.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SpatialObjectId } from './Spatial';
|
|
2
|
+
export interface SpatialIndexingExplanation {
|
|
3
|
+
readonly id: SpatialObjectId;
|
|
4
|
+
readonly mode: SpatialIndexingMode;
|
|
5
|
+
readonly bucketCount: number;
|
|
6
|
+
readonly reason: SpatialDeclineReason | null;
|
|
7
|
+
}
|
|
8
|
+
export type SpatialIndexingMode = 'absent' | 'cells' | 'declined' | 'overflow';
|
|
9
|
+
export type SpatialDeclineReason = 'non-finite-bounds';
|
|
10
|
+
export interface SpatialIndexingNotice {
|
|
11
|
+
readonly id: SpatialObjectId;
|
|
12
|
+
readonly mode: SpatialIndexingMode;
|
|
13
|
+
readonly wouldOccupyBucketCount: number;
|
|
14
|
+
readonly reason: SpatialDeclineReason | null;
|
|
15
|
+
}
|
|
16
|
+
export type SpatialIndexingGuard = (notice: Readonly<SpatialIndexingNotice>) => void;
|
|
17
|
+
//# sourceMappingURL=SpatialIndexing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpatialIndexing.d.ts","sourceRoot":"","sources":["../src/SpatialIndexing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAMjD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IAInC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAG7B,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC9C;AAQD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAI/E,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAKvD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IAGnC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC9C;AAKD,MAAM,MAAM,oBAAoB,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,qBAAqB,CAAC,KAAK,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpatialIndexing.js","sourceRoot":"","sources":["../src/SpatialIndexing.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Image } from './Image';
|
|
2
2
|
/**
|
|
3
3
|
* External-resource seams for static SVG document import. The importer performs no hidden I/O:
|
|
4
|
-
* callers that want `<image>` nodes resolve each URL or data URI to an already-owned
|
|
4
|
+
* callers that want `<image>` nodes resolve each URL or data URI to an already-owned Image.
|
|
5
5
|
*/
|
|
6
6
|
export interface SvgDocumentImportOptions {
|
|
7
|
-
resolveImageResource?: (href: string) =>
|
|
7
|
+
resolveImageResource?: (href: string) => Image | null;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=SvgDocumentImport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgDocumentImport.d.ts","sourceRoot":"","sources":["../src/SvgDocumentImport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SvgDocumentImport.d.ts","sourceRoot":"","sources":["../src/SvgDocumentImport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,KAAK,GAAG,IAAI,CAAC;CACvD"}
|
package/dist/Texture.d.ts
CHANGED
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
import type { Entity, EntityWithoutRuntime } from './Entity';
|
|
2
2
|
import type { Sampler } from './Sampler';
|
|
3
|
-
import type {
|
|
3
|
+
import type { TextureSource } from './TextureSource';
|
|
4
4
|
import type { TextureUvTransform } from './TextureUvTransform';
|
|
5
|
+
import type { VoxelGrid } from './VoxelGrid';
|
|
5
6
|
export type TextureColorSpace = 'linear' | 'srgb';
|
|
6
|
-
export
|
|
7
|
+
export type TextureSourceCubeFaces = readonly [
|
|
8
|
+
TextureSource | null,
|
|
9
|
+
TextureSource | null,
|
|
10
|
+
TextureSource | null,
|
|
11
|
+
TextureSource | null,
|
|
12
|
+
TextureSource | null,
|
|
13
|
+
TextureSource | null
|
|
14
|
+
];
|
|
15
|
+
interface TextureCommon extends Entity, TextureUvTransform {
|
|
7
16
|
colorSpace: TextureColorSpace;
|
|
8
17
|
sampler: Sampler;
|
|
9
|
-
storage: TextureStorage;
|
|
10
18
|
version: number;
|
|
11
19
|
}
|
|
12
|
-
export
|
|
20
|
+
export interface Texture2D extends TextureCommon {
|
|
21
|
+
readonly dimension: '2d';
|
|
22
|
+
source: TextureSource | null;
|
|
23
|
+
}
|
|
24
|
+
export type Texture = Texture2D | (TextureCommon & {
|
|
25
|
+
readonly dimension: '2d-array';
|
|
26
|
+
sources: readonly (TextureSource | null)[];
|
|
27
|
+
}) | (TextureCommon & {
|
|
28
|
+
readonly dimension: '3d';
|
|
29
|
+
source: VoxelGrid | null;
|
|
30
|
+
}) | (TextureCommon & {
|
|
31
|
+
readonly dimension: 'cube';
|
|
32
|
+
sources: TextureSourceCubeFaces;
|
|
33
|
+
});
|
|
34
|
+
type TextureLikeFrom<Type extends Texture> = Type extends Texture ? EntityWithoutRuntime<Type> : never;
|
|
35
|
+
export type TextureLike = TextureLikeFrom<Texture>;
|
|
36
|
+
export {};
|
|
13
37
|
//# sourceMappingURL=Texture.d.ts.map
|
package/dist/Texture.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Texture.d.ts","sourceRoot":"","sources":["../src/Texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Texture.d.ts","sourceRoot":"","sources":["../src/Texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAM7C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAIlD,MAAM,MAAM,sBAAsB,GAAG,SAAS;IAC5C,aAAa,GAAG,IAAI;IACpB,aAAa,GAAG,IAAI;IACpB,aAAa,GAAG,IAAI;IACpB,aAAa,GAAG,IAAI;IACpB,aAAa,GAAG,IAAI;IACpB,aAAa,GAAG,IAAI;CACrB,CAAC;AAIF,UAAU,aAAc,SAAQ,MAAM,EAAE,kBAAkB;IACxD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IAGjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,MAAM,OAAO,GACf,SAAS,GACT,CAAC,aAAa,GAAG;IACf,QAAQ,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/B,OAAO,EAAE,SAAS,CAAC,aAAa,GAAG,IAAI,CAAC,EAAE,CAAC;CAC5C,CAAC,GACF,CAAC,aAAa,GAAG;IACf,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B,CAAC,GACF,CAAC,aAAa,GAAG;IACf,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,sBAAsB,CAAC;CACjC,CAAC,CAAC;AAEP,KAAK,eAAe,CAAC,IAAI,SAAS,OAAO,IAAI,IAAI,SAAS,OAAO,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;AAEvG,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC"}
|
package/dist/TextureAtlas.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Entity } from './Entity';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Texture2D } from './Texture';
|
|
3
3
|
import type { TextureAtlasRegion } from './TextureAtlasRegion';
|
|
4
4
|
export interface TextureAtlas extends Entity {
|
|
5
|
-
texture:
|
|
5
|
+
texture: Texture2D | null;
|
|
6
6
|
regions: TextureAtlasRegion[];
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=TextureAtlas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextureAtlas.d.ts","sourceRoot":"","sources":["../src/TextureAtlas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TextureAtlas.d.ts","sourceRoot":"","sources":["../src/TextureAtlas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC1C,OAAO,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TextureAtlasPackerParseOptions } from './TextureAtlasPackerParseOptions';
|
|
2
|
+
import type { TextureAtlasStarlingParseOptions } from './TextureAtlasStarlingParseOptions';
|
|
3
|
+
export type TextureAtlasParseOptions = TextureAtlasPackerParseOptions & TextureAtlasStarlingParseOptions;
|
|
4
|
+
//# sourceMappingURL=TextureAtlasParseOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureAtlasParseOptions.d.ts","sourceRoot":"","sources":["../src/TextureAtlasParseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAS3F,MAAM,MAAM,wBAAwB,GAAG,8BAA8B,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureAtlasParseOptions.js","sourceRoot":"","sources":["../src/TextureAtlasParseOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TextureAtlas } from './TextureAtlas';
|
|
2
|
+
export type TextureAtlasRegionTextureStatus = 'ready' | 'missing-region' | 'missing-texture' | 'rotated-page';
|
|
3
|
+
export interface TextureAtlasRegionTextureExplanation {
|
|
4
|
+
readonly status: TextureAtlasRegionTextureStatus;
|
|
5
|
+
}
|
|
6
|
+
export type TextureAtlasRegionTextureGuard = (atlas: Readonly<TextureAtlas>, regionId: number, explanation: Readonly<TextureAtlasRegionTextureExplanation>) => void;
|
|
7
|
+
//# sourceMappingURL=TextureAtlasRegionTextureExplanation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureAtlasRegionTextureExplanation.d.ts","sourceRoot":"","sources":["../src/TextureAtlasRegionTextureExplanation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,+BAA+B,GAAG,OAAO,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAE9G,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,MAAM,EAAE,+BAA+B,CAAC;CAClD;AAED,MAAM,MAAM,8BAA8B,GAAG,CAC3C,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC7B,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,QAAQ,CAAC,oCAAoC,CAAC,KACxD,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureAtlasRegionTextureExplanation.js","sourceRoot":"","sources":["../src/TextureAtlasRegionTextureExplanation.ts"],"names":[],"mappings":""}
|
package/dist/TextureCubeFace.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextureCubeFace.js","sourceRoot":"","sources":["../src/TextureCubeFace.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TextureCubeFace.js","sourceRoot":"","sources":["../src/TextureCubeFace.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TextureSourceKind } from './TextureSourceKind';
|
|
2
|
+
export type TextureResolutionStatus = 'missing-kind' | 'missing-resolver' | 'registered';
|
|
3
|
+
/**
|
|
4
|
+
* Describes only resolver availability. A registered resolver may still return its own null sentinel
|
|
5
|
+
* while a resource is unavailable or not ready.
|
|
6
|
+
*/
|
|
7
|
+
export interface TextureResolutionExplanation {
|
|
8
|
+
readonly kind: TextureSourceKind | null;
|
|
9
|
+
readonly status: TextureResolutionStatus;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=TextureResolutionExplanation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureResolutionExplanation.d.ts","sourceRoot":"","sources":["../src/TextureResolutionExplanation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAAG,kBAAkB,GAAG,YAAY,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureResolutionExplanation.js","sourceRoot":"","sources":["../src/TextureResolutionExplanation.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { Entity } from './Entity';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TextureSourceKind } from './TextureSourceKind';
|
|
3
3
|
/**
|
|
4
|
-
* Shared identity and dimensions for an open texture-
|
|
5
|
-
* own `kind` and payload; consumers dispatch through the renderer's
|
|
4
|
+
* Shared identity and dimensions for an open texture-source family. Concrete sources declare their
|
|
5
|
+
* own `kind` and payload; consumers dispatch through the renderer's source registry rather than
|
|
6
6
|
* inspecting nullable representation fields.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface TextureSource extends Entity {
|
|
9
9
|
/** Pixel height. */
|
|
10
10
|
height: number;
|
|
11
|
-
/** Open resolver-registry key declared by the constructor or loader that owns this
|
|
12
|
-
kind:
|
|
11
|
+
/** Open resolver-registry key declared by the constructor or loader that owns this source. */
|
|
12
|
+
kind: TextureSourceKind;
|
|
13
13
|
/** Bumped whenever the represented pixels change. */
|
|
14
14
|
version: number;
|
|
15
15
|
/** Pixel width. */
|
|
16
16
|
width: number;
|
|
17
17
|
}
|
|
18
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=TextureSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureSource.d.ts","sourceRoot":"","sources":["../src/TextureSource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;;;GAIG;AACH,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8FAA8F;IAC9F,IAAI,EAAE,iBAAiB,CAAC;IACxB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureSource.js","sourceRoot":"","sources":["../src/TextureSource.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type TextureSourceKind = string;
|
|
2
|
+
export declare const BitmapTextureSourceKind = "bitmap";
|
|
3
|
+
export declare const CompressedImageTextureSourceKind = "compressedImage";
|
|
4
|
+
export declare const ExternalTextureSourceKind = "external";
|
|
5
|
+
export declare const ImageTextureSourceKind = "image";
|
|
6
|
+
export declare const RenderTargetTextureSourceKind = "renderTarget";
|
|
7
|
+
export declare const VoxelGridTextureSourceKind = "voxelGrid";
|
|
8
|
+
//# sourceMappingURL=TextureSourceKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureSourceKind.d.ts","sourceRoot":"","sources":["../src/TextureSourceKind.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEvC,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAChD,eAAO,MAAM,gCAAgC,oBAAoB,CAAC;AAClE,eAAO,MAAM,yBAAyB,aAAa,CAAC;AACpD,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAC9C,eAAO,MAAM,6BAA6B,iBAAiB,CAAC;AAC5D,eAAO,MAAM,0BAA0B,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const BitmapTextureSourceKind = 'bitmap';
|
|
2
|
+
export const CompressedImageTextureSourceKind = 'compressedImage';
|
|
3
|
+
export const ExternalTextureSourceKind = 'external';
|
|
4
|
+
export const ImageTextureSourceKind = 'image';
|
|
5
|
+
export const RenderTargetTextureSourceKind = 'renderTarget';
|
|
6
|
+
export const VoxelGridTextureSourceKind = 'voxelGrid';
|
|
7
|
+
//# sourceMappingURL=TextureSourceKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextureSourceKind.js","sourceRoot":"","sources":["../src/TextureSourceKind.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC;AAChD,MAAM,CAAC,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;AAClE,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAC9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,cAAc,CAAC;AAC5D,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformInherit2D.d.ts","sourceRoot":"","sources":["../src/TransformInherit2D.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransformInherit2D.js","sourceRoot":"","sources":["../src/TransformInherit2D.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
export declare const TransformMode2D: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
Normal: {
|
|
3
|
+
reflection: true;
|
|
4
|
+
rotation: true;
|
|
5
|
+
scale: true;
|
|
6
|
+
translation: true;
|
|
7
|
+
};
|
|
8
|
+
OnlyTranslation: {
|
|
9
|
+
reflection: false;
|
|
10
|
+
rotation: false;
|
|
11
|
+
scale: false;
|
|
12
|
+
translation: true;
|
|
13
|
+
};
|
|
14
|
+
NoRotationOrReflection: {
|
|
15
|
+
reflection: false;
|
|
16
|
+
rotation: false;
|
|
17
|
+
scale: true;
|
|
18
|
+
translation: true;
|
|
19
|
+
};
|
|
20
|
+
NoScale: {
|
|
21
|
+
reflection: true;
|
|
22
|
+
rotation: true;
|
|
23
|
+
scale: false;
|
|
24
|
+
translation: true;
|
|
25
|
+
};
|
|
26
|
+
NoScaleOrReflection: {
|
|
27
|
+
reflection: false;
|
|
28
|
+
rotation: true;
|
|
29
|
+
scale: false;
|
|
30
|
+
translation: true;
|
|
31
|
+
};
|
|
7
32
|
};
|
|
8
|
-
export type TransformMode2D = (typeof TransformMode2D)[keyof typeof TransformMode2D];
|
|
9
33
|
//# sourceMappingURL=TransformMode2D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransformMode2D.d.ts","sourceRoot":"","sources":["../src/TransformMode2D.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransformMode2D.d.ts","sourceRoot":"","sources":["../src/TransformMode2D.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMkB,CAAC"}
|
package/dist/TransformMode2D.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
1
|
+
// Named `TransformInherit2D` presets for the five Spine/DragonBones inherit modes — a one-token authoring
|
|
2
|
+
// vocabulary over the four-axis boolean model, not a distinct type. A caller who thinks in Spine terms
|
|
3
|
+
// writes `TransformMode2D.NoScale`; a caller who needs an arbitrary axis combination (e.g. a DragonBones
|
|
4
|
+
// bone that keeps rotation and scale but strips reflection) sets the `TransformInherit2D` booleans directly.
|
|
5
|
+
// The presets are module constants shared by reference, so a bone assigned a preset compares identity-equal
|
|
6
|
+
// to it (cloneSkeleton2D keeps the reference — the value is immutable by convention).
|
|
6
7
|
//
|
|
7
|
-
// Normal — inherit
|
|
8
|
-
// OnlyTranslation — inherit
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
// NoScaleOrReflection — inherit the parent's rotation but neither its scale nor a reflection.
|
|
8
|
+
// Normal — inherit rotation + scale + reflection + translation (world = parent × local).
|
|
9
|
+
// OnlyTranslation — inherit translation only; rotation/scale come from the bone's own local setup
|
|
10
|
+
// (e.g. a held item that stays upright on a rotating arm).
|
|
11
|
+
// NoRotationOrReflection — inherit the parent's scale but strip its rotation and reflection.
|
|
12
|
+
// NoScale — inherit the parent's rotation and reflection but not its scale.
|
|
13
|
+
// NoScaleOrReflection — inherit the parent's rotation but neither its scale nor its reflection.
|
|
14
14
|
export const TransformMode2D = {
|
|
15
|
-
Normal:
|
|
16
|
-
OnlyTranslation:
|
|
17
|
-
NoRotationOrReflection:
|
|
18
|
-
NoScale:
|
|
19
|
-
NoScaleOrReflection:
|
|
15
|
+
Normal: { reflection: true, rotation: true, scale: true, translation: true },
|
|
16
|
+
OnlyTranslation: { reflection: false, rotation: false, scale: false, translation: true },
|
|
17
|
+
NoRotationOrReflection: { reflection: false, rotation: false, scale: true, translation: true },
|
|
18
|
+
NoScale: { reflection: true, rotation: true, scale: false, translation: true },
|
|
19
|
+
NoScaleOrReflection: { reflection: false, rotation: true, scale: false, translation: true },
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=TransformMode2D.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransformMode2D.js","sourceRoot":"","sources":["../src/TransformMode2D.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransformMode2D.js","sourceRoot":"","sources":["../src/TransformMode2D.ts"],"names":[],"mappings":"AAEA,0GAA0G;AAC1G,uGAAuG;AACvG,yGAAyG;AACzG,6GAA6G;AAC7G,4GAA4G;AAC5G,sFAAsF;AACtF,EAAE;AACF,2GAA2G;AAC3G,2GAA2G;AAC3G,sFAAsF;AACtF,+FAA+F;AAC/F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AAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,SAAS,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;CACvD;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PixelFormat } from './PixelFormat';
|
|
2
|
+
import type { TextureSource } from './TextureSource';
|
|
3
|
+
import type { VoxelGridTextureSourceKind } from './TextureSourceKind';
|
|
4
|
+
export interface VoxelGrid extends TextureSource {
|
|
5
|
+
data: Uint8Array<ArrayBuffer>;
|
|
6
|
+
depth: number;
|
|
7
|
+
format: PixelFormat;
|
|
8
|
+
readonly kind: typeof VoxelGridTextureSourceKind;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=VoxelGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoxelGrid.d.ts","sourceRoot":"","sources":["../src/VoxelGrid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAItE,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,OAAO,0BAA0B,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoxelGrid.js","sourceRoot":"","sources":["../src/VoxelGrid.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { BlendMode } from './BlendMode';
|
|
2
2
|
import type { ColorScaleBias } from './ColorScaleBias';
|
|
3
3
|
import type { Kind } from './Entity';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ExternalTexture } from './ExternalTexture';
|
|
5
|
+
import type { Image } from './Image';
|
|
6
6
|
import type { Material } from './Material';
|
|
7
7
|
import type { Matrix } from './Matrix';
|
|
8
8
|
import type { RenderProxy2D } from './RenderProxy2D';
|
|
9
9
|
import type { RenderState, RenderStateRuntime } from './RenderState';
|
|
10
10
|
import type { RenderTexture } from './RenderTexture';
|
|
11
11
|
import type { SamplerLike } from './Sampler';
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { TextureSource } from './TextureSource';
|
|
13
|
+
import type { TextureSourceKind } from './TextureSourceKind';
|
|
14
14
|
import type { TintMaterialData } from './TintMaterialData';
|
|
15
15
|
import type { WgpuCompressedTextureDecoder } from './WgpuCompressedTextureDecoder';
|
|
16
16
|
import type { WgpuCompressedTextureUploader } from './WgpuCompressedTextureUploader';
|
|
@@ -55,13 +55,13 @@ export interface WgpuRenderStateRuntime extends RenderStateRuntime {
|
|
|
55
55
|
mipmapPipeline?: GPURenderPipeline | null;
|
|
56
56
|
mipmapBindGroupLayout?: GPUBindGroupLayout | null;
|
|
57
57
|
textureCache: WeakMap<CanvasImageSource, WgpuTextureEntry>;
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
textureSourcePremultipliedTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
59
|
+
textureSourceStraightTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
60
60
|
compressedTextureDecoder?: WgpuCompressedTextureDecoder | null;
|
|
61
61
|
compressedTextureUpload?: WgpuCompressedTextureUploader | null;
|
|
62
|
-
videoTextureCache?: WeakMap<
|
|
63
|
-
wgpuTextureResolverRegistry?: Map<
|
|
64
|
-
wgpuExternalTextureCache?: WeakMap<
|
|
62
|
+
videoTextureCache?: WeakMap<Image, WgpuVideoTextureEntry>;
|
|
63
|
+
wgpuTextureResolverRegistry?: Map<TextureSourceKind, WgpuTextureResolver> | null;
|
|
64
|
+
wgpuExternalTextureCache?: WeakMap<ExternalTexture, WgpuTextureEntry>;
|
|
65
65
|
wgpuRenderTextureCache?: WeakMap<RenderTexture, WgpuRenderTextureEntry>;
|
|
66
66
|
defaultBitmapShader: WgpuBitmapShader | null;
|
|
67
67
|
webgpuShaderBindingResolver?: (renderProxy: RenderProxy2D) => WgpuBitmapShader | undefined;
|
|
@@ -183,7 +183,7 @@ export interface WgpuTextureEntry {
|
|
|
183
183
|
texture: GPUTexture;
|
|
184
184
|
view: GPUTextureView;
|
|
185
185
|
}
|
|
186
|
-
export interface
|
|
186
|
+
export interface WgpuTextureSourceTextureEntry extends WgpuTextureEntry {
|
|
187
187
|
version: number;
|
|
188
188
|
}
|
|
189
189
|
export interface WgpuVideoTextureEntry extends WgpuTextureEntry {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WgpuRenderState.d.ts","sourceRoot":"","sources":["../src/WgpuRenderState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"WgpuRenderState.d.ts","sourceRoot":"","sources":["../src/WgpuRenderState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK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G,IAAI,CAAC;IACjC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAID,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,YAAY,CAAC;IAKxB,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAGhC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;CACtB;AAGD,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,UAAU,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface WgpuRenderTarget extends
|
|
1
|
+
import type { RenderTargetColorSpace, RenderTargetDimensions } from './RenderTarget';
|
|
2
|
+
export interface WgpuRenderTarget extends RenderTargetDimensions {
|
|
3
3
|
bindGroup: GPUBindGroup;
|
|
4
4
|
colorSpace: RenderTargetColorSpace;
|
|
5
5
|
depthStencilTexture: GPUTexture;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WgpuRenderTarget.d.ts","sourceRoot":"","sources":["../src/WgpuRenderTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"WgpuRenderTarget.d.ts","sourceRoot":"","sources":["../src/WgpuRenderTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAErF,MAAM,WAAW,gBAAiB,SAAQ,sBAAsB;IAC9D,SAAS,EAAE,YAAY,CAAC;IAGxB,UAAU,EAAE,sBAAsB,CAAC;IACnC,mBAAmB,EAAE,UAAU,CAAC;IAChC,gBAAgB,EAAE,cAAc,CAAC;IAGjC,MAAM,EAAE,gBAAgB,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf;AAID,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,EAAE,CAAC;CAC1B,CAAC"}
|