Bump dist build

This commit is contained in:
sparkjsdev[bot]
2025-07-08 00:20:29 +00:00
parent 4266db3259
commit a750555eb6
13 changed files with 4914 additions and 4541 deletions
+7 -2
View File
@@ -16,7 +16,8 @@ export declare enum SplatFileType {
SPZ = "spz",
SPLAT = "splat",
KSPLAT = "ksplat",
PCSOGS = "pcsogs"
PCSOGS = "pcsogs",
PCSOGSZIP = "pcsogszip"
}
export declare function getSplatFileType(fileBytes: Uint8Array): SplatFileType | undefined;
export declare function getFileExtension(pathOrUrl: string): string;
@@ -49,7 +50,7 @@ export type PcSogsJson = {
maxs: number[];
files: string[];
};
shN: {
shN?: {
shape: number[];
dtype: string;
mins: number;
@@ -60,6 +61,10 @@ export type PcSogsJson = {
};
export declare function isPcSogs(input: ArrayBuffer | Uint8Array | string): boolean;
export declare function tryPcSogs(input: ArrayBuffer | Uint8Array | string): PcSogsJson | undefined;
export declare function tryPcSogsZip(input: ArrayBuffer | Uint8Array): {
name: string;
json: PcSogsJson;
} | undefined;
export declare function unpackSplats({ input, extraFiles, fileType, pathOrUrl, }: {
input: Uint8Array | ArrayBuffer;
extraFiles?: Record<string, ArrayBuffer>;
+7 -1
View File
@@ -1,4 +1,10 @@
export declare function unpackPcSogs(fileBytes: Uint8Array, extraFiles: Record<string, ArrayBuffer>): Promise<{
import { PcSogsJson } from './SplatLoader';
export declare function unpackPcSogs(json: PcSogsJson, extraFiles: Record<string, ArrayBuffer>): Promise<{
packedArray: Uint32Array;
numSplats: number;
extra: Record<string, unknown>;
}>;
export declare function unpackPcSogsZip(fileBytes: Uint8Array): Promise<{
packedArray: Uint32Array;
numSplats: number;
extra: Record<string, unknown>;