/** * VLAM! | a WebGPU-first 3D Gaussian Splatting renderer for three.js. * * Public API surface. Everything else under `src/lib/` is internal and may * change without notice. * * Optional systems live on dedicated subpaths so an application that only draws a * fully loaded mesh does not pay for workers, schedulers, or work buffers: * - `@voluma/vlam/loaders` - {@link loadSplatData}, {@link ChunkLoader} * - `@voluma/vlam/static-lod` - {@link StaticLodSplatMesh} * - `@voluma/vlam/streaming` - {@link StreamedSplatMesh}, budget governors * - `@voluma/vlam/unified` - {@link UnifiedSplatMesh} * - `@voluma/vlam/unified/pooled` - experimental WebGL2 pooled unified draw * - `@voluma/vlam/sorting/radix` - radixSort/exactSort GPU sorting strategies * - `@voluma/vlam/projection/compute` - experimental computeProjection strategy * - `@voluma/vlam/selection` - volume select and partition * - `@voluma/vlam/effects` - tree-shakeable modifier presets * - `@voluma/vlam/relighting` - optional proxy-mesh relighting * - `@voluma/vlam/formats/ply` - 3DGS `.ply`, raw and compressed * - `@voluma/vlam/formats/sog` - PlayCanvas SOG, bundled and unbundled * - `@voluma/vlam/formats/rad` - Spark `.rad` * - `@voluma/vlam/formats/lcc` - XGRIDS LCC / `.lcc2` + collision helpers * - `@voluma/vlam/formats/spz` - Niantic `.spz` * - `@voluma/vlam/formats/splat` - antimatter15 `.splat` * - `@voluma/vlam/formats/ksplat` - mkkellogg `.ksplat` * * {@link loadSplatData} / {@link StreamedSplatMesh.load} still accept those formats * without importing a format subpath; the library loads format code on demand. * * @module core */ export { SplatMesh, MAX_SH_BANDS, DEFAULT_FOVEATION_TARGET_PX, DEFAULT_FOVEATION_DRAW_BUDGET, resolveSplatPerformanceProfile, type UnifiedSourceView, type SplatMeshOptions, type SplatUpdateOptions, type SplatUpdateTimings, type SplatSortStrategy, type SplatSortStrategyFactory, type ComputeProjectionStrategy, type ComputeProjectionMode, type SplatSortMetric, type SplatStorageMode, type SplatPerformanceProfile, type SplatFoveationMode, type SplatProjectionStrategy, type SplatRange, type SplatPickOptions, type SplatPickResult, type SplatNearestResult, type SplatRayResult, type SplatHeightResult, type SplatChannelType, type SplatChannelOptions, } from './splat-mesh'; export { SplatPool, type SplatPoolOptions } from './splat-mesh-pool'; export { SPLAT_DATA_TEXTURE_WIDTH, deviceMaxTextureSize, assertPoolRowsFitDevice, } from './splat-mesh-pool'; export { MAX_DOF_RADIUS_PX, MAX_DOF_VARIANCE, apertureAngleFromSize, computeDofCocVariancePx2, computeDofOpacityFade, clampDepthOfFieldSettings, type DepthOfFieldSettings, } from './depth-of-field'; export { type SplatOrientation, type OrientableFormat, createYUpTransform, yUpTransformForFormat, } from './orientation'; export { MergedSplatMesh, type MergedSplatMeshOptions, type MergedSplatSourceOptions, } from './merged-splat-mesh'; export { MAX_MERGED_SPLAT_SOURCES } from './source-transform'; export type { DisplayColorModifier, SplatShInputs, Vec3Uniform } from './splat-mesh-material'; export { resolveSplatBudget, detectSplatDeviceProfile, classifySplatGpuClass, probeSplatGpuClass, isFillConstrainedSplatDevice, recommendedMaxPixelRatio, recommendedRadMaxStdDev, recommendedXrFramebufferScale, resolveXrSplatBudget, suggestAdaptivePixelRatio, ADAPTIVE_PIXEL_RATIO_WARMUP_FRAMES, estimateSplatPoolBytes, streamedPoolCapacityFactor, type SplatBudgetOptions, type SplatCostClass, type SplatDeviceProfile, type SplatGpuClass, type SplatGpuAdapterInfo, type AdaptivePixelRatioInput, type AdaptivePixelRatioResult, type SplatPoolBytesOptions, } from './splat-budget'; export { xrSessionInit } from './xr-view'; export { createWebGPURenderer, isWebGpuBackend, type CreateWebGPURendererOptions, type WebGPURendererGpu, type WebGPURendererGpuAdapter, type WebGPURendererGpuDevice, } from './create-webgpu-renderer'; export { recommendedWebGpuRequiredLimits, supportsWebGpuPowerPreference, webGpuPowerPreferenceOptions, deviceMaxStorageBufferBindingSize, assertStorageBufferFitsDevice, WEBGPU_DEFAULT_MAX_STORAGE_BUFFER_BINDING_SIZE, type WebGpuRequiredLimits, type WebGpuPowerPreference, } from './webgpu-limits'; export { writeCovariance } from './splat-data'; export type { SplatData, SplatShData, SplatPackedShData } from './splat-data'; export { sortStrategyLabel, type SplatSortStrategyName } from './strategy-types'; export { MAX_DRAWABLE_SPLATS } from '../formats/splat-count-limits'; export type { SplatDataFormat, StreamedSplatFormat } from '../loaders/loading'; export type { SplatModifier, SplatContext, SplatOutputs, ModifierStackTarget, } from './splat-modifier'; export { ModifierSlots, type ModifierSlotsOptions } from './splat-modifier'; export { setVlamLogHandler, type VlamLogHandler, type VlamLogLevel } from './logging';