@forgeax/engine-vfx 0.1.6 → 0.1.19
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/.tsbuildinfo +1 -1
- package/dist/gpu-loader.d.ts +2 -3
- package/dist/gpu-loader.d.ts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/gpu-loader.ts +5 -3
package/dist/gpu-loader.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { AssetRegistry as LegacyAssetRegistry } from '@forgeax/engine-assets-runtime';
|
|
2
|
-
import type { AssetRegistry as CoreAssetRegistry } from '@forgeax/engine-assets-runtime/internal';
|
|
1
|
+
import type { AssetRegistry as LegacyAssetRegistry, RuntimeAssetRegistry } from '@forgeax/engine-assets-runtime';
|
|
3
2
|
import type { AssetDecoderContribution, LoadContext, Result } from '@forgeax/engine-types';
|
|
4
3
|
import { type VfxGpuEffectAsset } from './gpu-program.js';
|
|
5
4
|
export interface VfxGpuAssetError {
|
|
@@ -29,6 +28,6 @@ export declare const vfxGpuEffectPackLoader: {
|
|
|
29
28
|
};
|
|
30
29
|
/** VFX owner decoder contribution for the core registry's typed map. */
|
|
31
30
|
export declare const vfxGpuEffectContribution: AssetDecoderContribution<VfxGpuEffectAsset, 'particle-effect'>;
|
|
32
|
-
export declare function loadVfxGpuEffect(registry: LegacyAssetRegistry |
|
|
31
|
+
export declare function loadVfxGpuEffect(registry: LegacyAssetRegistry | RuntimeAssetRegistry, guid: string): Promise<Result<VfxGpuEffectAsset, unknown>>;
|
|
33
32
|
export {};
|
|
34
33
|
//# sourceMappingURL=gpu-loader.d.ts.map
|
package/dist/gpu-loader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gpu-loader.d.ts","sourceRoot":"","sources":["../src/gpu-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"gpu-loader.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