mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
98 lines
2.1 KiB
TypeScript
98 lines
2.1 KiB
TypeScript
export { SparkRenderer, type SparkRendererOptions } from "./SparkRenderer";
|
|
export { SparkViewpoint, type SparkViewpointOptions } from "./SparkViewpoint";
|
|
|
|
export * as dyno from "./dyno";
|
|
|
|
export { RgbaArray } from "./RgbaArray";
|
|
|
|
export {
|
|
SplatLoader,
|
|
unpackSplats,
|
|
SplatFileType,
|
|
getSplatFileType,
|
|
isPcSogs,
|
|
} from "./SplatLoader";
|
|
export { PlyReader } from "./ply";
|
|
export { SpzReader, SpzWriter, transcodeSpz } from "./spz";
|
|
|
|
export { PackedSplats, type PackedSplatsOptions } from "./PackedSplats";
|
|
export {
|
|
SplatGenerator,
|
|
type GsplatGenerator,
|
|
SplatModifier,
|
|
type GsplatModifier,
|
|
SplatTransformer,
|
|
} from "./SplatGenerator";
|
|
export { SplatAccumulator, type GeneratorMapping } from "./SplatAccumulator";
|
|
export { Readback, type Rgba8Readback, type ReadbackBuffer } from "./Readback";
|
|
|
|
export {
|
|
SplatMesh,
|
|
type SplatMeshOptions,
|
|
type SplatMeshContext,
|
|
} from "./SplatMesh";
|
|
export { SplatSkinning, type SplatSkinningOptions } from "./SplatSkinning";
|
|
export {
|
|
SplatEdit,
|
|
type SplatEditOptions,
|
|
SplatEditSdf,
|
|
type SplatEditSdfOptions,
|
|
SplatEditSdfType,
|
|
SplatEditRgbaBlendMode,
|
|
SplatEdits,
|
|
} from "./SplatEdit";
|
|
|
|
export {
|
|
constructGrid,
|
|
constructAxes,
|
|
constructSpherePoints,
|
|
imageSplats,
|
|
textSplats,
|
|
} from "./splatConstructors";
|
|
|
|
export * as generators from "./generators";
|
|
export * as modifiers from "./modifiers";
|
|
|
|
export { VRButton } from "./vrButton";
|
|
export {
|
|
type JointId,
|
|
JointEnum,
|
|
JOINT_IDS,
|
|
NUM_JOINTS,
|
|
JOINT_INDEX,
|
|
JOINT_RADIUS,
|
|
JOINT_SEGMENTS,
|
|
JOINT_SEGMENT_STEPS,
|
|
JOINT_TIPS,
|
|
FINGER_TIPS,
|
|
Hand,
|
|
HANDS,
|
|
type Joint,
|
|
type HandJoints,
|
|
type HandsJoints,
|
|
XrHands,
|
|
HandMovement,
|
|
} from "./hands";
|
|
|
|
export { SparkControls, FpsMovement, PointerControls } from "./controls";
|
|
|
|
export {
|
|
isMobile,
|
|
isAndroid,
|
|
isOculus,
|
|
flipPixels,
|
|
pixelsToPngUrl,
|
|
toHalf,
|
|
fromHalf,
|
|
floatToUint8,
|
|
floatToSint8,
|
|
Uint8ToFloat,
|
|
Sint8ToFloat,
|
|
setPackedSplat,
|
|
unpackSplat,
|
|
} from "./utils";
|
|
export * as utils from "./utils";
|
|
|
|
export { LN_SCALE_MIN, LN_SCALE_MAX } from "./defines";
|
|
export * as defines from "./defines";
|