import { ChannelName, ChannelNodeMap, WithRequiredChannels, channelDefaults } from "./materials/channels.js"; import { ChannelNodeContext, EffectConstants, EffectField, EffectNodeContext, EffectSchema, EffectSchemaValue, EffectValues, MaterialEffect, MaterialEffectClass, UniformKeys, createMaterialEffect } from "./materials/MaterialEffect.js"; import { BatchKey, BlendMode, ClipRect, InstanceAttributeConfig, InstanceAttributeType, RenderStats, SortLayerDescriptor, SortMode, SpriteGroupOptions, SpriteSortFunction } from "./pipeline/types.js"; import { ColorTransformContext, ColorTransformFn, EffectMaterial, EffectMaterialOptions, computeTier, getPackedComponent } from "./materials/EffectMaterial.js"; import { GlobalUniforms } from "./GlobalUniforms.js"; import { Sprite2DMaterial, Sprite2DMaterialOptions } from "./materials/Sprite2DMaterial.js"; import { SpriteBatch } from "./pipeline/SpriteBatch.js"; import { BuiltInSortLayer, SortLayerConfig, SortLayerName, SortLayerRegistry, SortLayerValue, SortLayers, declareSortLayer, decodeSortKey, encodeSortKey, getSortLayer, resolveSortLayer } from "./pipeline/sortLayers.js"; import { AlphaMap } from "./events/AlphaMap.js"; import { Sprite2DOptions, SpriteFrame, SpriteSheet, SpriteSheetJSONArray, SpriteSheetJSONHash } from "./sprites/types.js"; import { ALL_HIT_TEST_MODES, HitTestMode, resolveHitTestMode } from "./events/HitTestMode.js"; import { Light2D, Light2DOptions, Light2DType, Light2DUniforms, isLight2D } from "./lights/Light2D.js"; import { LightStore, TileLookupFn } from "./lights/LightStore.js"; import { SDFGenerator } from "./lights/SDFGenerator.js"; import { LightEffect, LightEffectBuildContext, LightEffectClass, LightEffectRuntimeContext, createLightEffect } from "./lights/LightEffect.js"; import { OcclusionPass, OcclusionPassOptions } from "./lights/OcclusionPass.js"; import { BatchQueryTag, BatchQueryView, IsAlphaBlendedBatch, IsAlphaTestedBatch, IsLitBatch, IsUnlitBatch } from "./pipeline/batchQuery.js"; import { EFFECT_BIT_OFFSET, LIT_FLAG_MASK, RECEIVE_SHADOWS_MASK } from "./materials/effectFlagBits.js"; import { Sprite2D } from "./sprites/Sprite2D.js"; import { SpriteGroup } from "./pipeline/SpriteGroup.js"; import { PassEffect, PassEffectClass, PassEffectContext, PassEffectFn, createPassEffect } from "./pipeline/PassEffect.js"; import { Flatland, FlatlandOptions } from "./Flatland.js"; import { Animation, AnimationFrame, AnimationSetDefinition, AnimationState, PlayOptions } from "./animation/types.js"; import { AnimationController } from "./animation/AnimationController.js"; import { concatAnimations, createAnimation, createAnimationFromPattern, createAnimationsFromNaming, reverseAnimation } from "./animation/utils.js"; import "./animation/index.js"; import { Oklab, Oklch, colorToOklab, colorToOklch, linearRgbToOklab, linearToSrgb, oklabToColor, oklabToLinearRgb, oklabToOklch, oklchToColor, oklchToOklab, srgbToLinear } from "./color/conversions.js"; import { contrastRatio, deltaEOklab, relativeLuminance, wcagLevel } from "./color/distance.js"; import { clampOklch, gamutMapOklch, isInGamut } from "./color/gamut.js"; import { analogous, complementary, splitComplementary, tetradic, triadic } from "./color/harmony.js"; import { gradientOklch, lerpOklab, lerpOklch } from "./color/interpolation.js"; import { equallySpacedHues, monochromaticPalette } from "./color/palette.js"; import "./color/index.js"; import { isDevtoolsActive } from "./debug-protocol.js"; import { registerDebugArray, registerDebugTexture, touchDebugArray, touchDebugTexture, unregisterDebugArray, unregisterDebugTexture } from "./debug/debug-sink.js"; import { RemoteBridgeHandle, WebSocketLike, createConsumerRemoteBridge, createProviderRemoteBridge, decodeDebugMessage, encodeDebugMessage } from "./debug/bus-websocket.js"; import { DevtoolsProviderHandle, createDevtoolsProvider } from "./debug/createDevtoolsProvider.js"; import { RayPlaneHit, createIntersection, rayPlaneZ0 } from "./events/raycastHelpers.js"; import { ALPHA_SIDECAR_DESCRIPTOR, ResolveAlphaMapOptions, decodeAlphaPng, resolveAlphaMap } from "./events/resolveAlphaMap.js"; import "./events/index.js"; import { AtlasJson } from "./sprites/atlas.types.gen.js"; import { AnimatedSprite2D, AnimatedSprite2DOptions } from "./sprites/AnimatedSprite2D.js"; import "./sprites/index.js"; import { readCastShadowFlag, readEnableBits, readFlip, readLitFlag, readReceiveShadowsFlag, readShadowRadius, readSystemFlags } from "./materials/instanceAttributes.js"; import "./materials/index.js"; import { TEXTURE_PRESETS, TextureConfig, TextureOptions, TexturePreset, applyTextureOptions, resolveTextureOptions } from "./loaders/texturePresets.js"; import { SpriteSheetLoader, SpriteSheetLoaderOptions } from "./loaders/SpriteSheetLoader.js"; import { TextureLoader, TextureLoaderOptions, applyHierarchicalPresets } from "./loaders/TextureLoader.js"; import { ChunkCoord, CollisionShape, ObjectLayerData, TileAnimationFrame, TileDefinition, TileInstance, TileLayerData, TileLayerOptions, TileMap2DOptions, TileMapData, TileMapObject, TilesetData } from "./tilemap/types.js"; import { LDtkLoader, LDtkLoaderOptions } from "./loaders/LDtkLoader.js"; import { TiledLoader, TiledLoaderOptions } from "./loaders/TiledLoader.js"; import { NormalBump, NormalDirection, NormalRegion, NormalSourceDescriptor, SpriteFrameRect, TileNormalCustomData, TilesetCell, TilesetGrid, TilesetGridOptions, buildTilesetGrid, framesToRegions, tileToRegions, tilesetCellAt, tilesetToRegions, wholeTextureRegion } from "./loaders/normalDescriptor.js"; import "./loaders/index.js"; import { SortLayer, SortLayerManager } from "./pipeline/SortLayerManager.js"; import { SortLayerGroup } from "./pipeline/SortLayerGroup.js"; import "./pipeline/index.js"; import { Tileset } from "./tilemap/Tileset.js"; import { TileLayer } from "./tilemap/TileLayer.js"; import { TileMap2D } from "./tilemap/TileMap2D.js"; import "./tilemap/index.js"; import { ForwardPlusLighting, MAX_LIGHTS_PER_TILE, TILE_SIZE } from "./lights/ForwardPlusLighting.js"; import { uvToWorld, worldToUV } from "./lights/coordUtils.js"; import { wrapWithLightFlags } from "./lights/wrapWithLightFlags.js"; import "./lights/index.js"; import { ObservableStrategy, Snapshot, observable, shallowEqual } from "./observable/index.js"; //#region src/index.d.ts declare const VERSION = "0.1.0-alpha.10"; //#endregion export { ALL_HIT_TEST_MODES, ALPHA_SIDECAR_DESCRIPTOR, AlphaMap, AnimatedSprite2D, type AnimatedSprite2DOptions, type Animation, AnimationController, type AnimationFrame, type AnimationSetDefinition, type AnimationState, type AtlasJson, type BatchKey, type BatchQueryTag, BatchQueryView, type BlendMode, type BuiltInSortLayer, type ChannelName, type ChannelNodeContext, type ChannelNodeMap, type ChunkCoord, type ClipRect, type CollisionShape, type ColorTransformContext, type ColorTransformFn, type DevtoolsProviderHandle, EFFECT_BIT_OFFSET, type EffectConstants, type EffectField, EffectMaterial, type EffectMaterialOptions, type EffectNodeContext, type EffectSchema, type EffectSchemaValue, type EffectValues, Flatland, FlatlandOptions, ForwardPlusLighting, GlobalUniforms, type HitTestMode, type InstanceAttributeConfig, type InstanceAttributeType, IsAlphaBlendedBatch, IsAlphaTestedBatch, IsLitBatch, IsUnlitBatch, LDtkLoader, type LDtkLoaderOptions, LIT_FLAG_MASK, Light2D, type Light2DOptions, type Light2DType, type Light2DUniforms, LightEffect, type LightEffectBuildContext, type LightEffectClass, type LightEffectRuntimeContext, LightStore, MAX_LIGHTS_PER_TILE, MaterialEffect, type MaterialEffectClass, type NormalBump, type NormalDirection, type NormalRegion, type NormalSourceDescriptor, type ObjectLayerData, ObservableStrategy, OcclusionPass, type OcclusionPassOptions, type Oklab, type Oklch, PassEffect, type PassEffectClass, type PassEffectContext, type PassEffectFn, type PlayOptions, RECEIVE_SHADOWS_MASK, type RayPlaneHit, type RemoteBridgeHandle, type RenderStats, type ResolveAlphaMapOptions, SDFGenerator, Snapshot, SortLayer, type SortLayerConfig, type SortLayerDescriptor, SortLayerGroup, SortLayerManager, type SortLayerName, type SortLayerRegistry, type SortLayerValue, SortLayers, type SortMode, Sprite2D, Sprite2DMaterial, type Sprite2DMaterialOptions, type Sprite2DOptions, SpriteBatch, type SpriteFrame, type SpriteFrameRect, SpriteGroup, type SpriteGroupOptions, type SpriteSheet, type SpriteSheetJSONArray, type SpriteSheetJSONHash, SpriteSheetLoader, type SpriteSheetLoaderOptions, type SpriteSortFunction, TEXTURE_PRESETS, TILE_SIZE, TextureConfig, TextureLoader, type TextureLoaderOptions, type TextureOptions, type TexturePreset, type TileAnimationFrame, type TileDefinition, type TileInstance, TileLayer, type TileLayerData, type TileLayerOptions, type TileLookupFn, TileMap2D, type TileMap2DOptions, type TileMapData, type TileMapObject, type TileNormalCustomData, TiledLoader, type TiledLoaderOptions, Tileset, type TilesetCell, type TilesetData, type TilesetGrid, type TilesetGridOptions, type UniformKeys, VERSION, type WebSocketLike, type WithRequiredChannels, analogous, applyHierarchicalPresets, applyTextureOptions, buildTilesetGrid, channelDefaults, clampOklch, colorToOklab, colorToOklch, complementary, computeTier, concatAnimations, contrastRatio, createAnimation, createAnimationFromPattern, createAnimationsFromNaming, createConsumerRemoteBridge, createDevtoolsProvider, createIntersection, createLightEffect, createMaterialEffect, createPassEffect, createProviderRemoteBridge, declareSortLayer, decodeAlphaPng, decodeDebugMessage, decodeSortKey, deltaEOklab, encodeDebugMessage, encodeSortKey, equallySpacedHues, framesToRegions, gamutMapOklch, getPackedComponent, getSortLayer, gradientOklch, isDevtoolsActive, isInGamut, isLight2D, lerpOklab, lerpOklch, linearRgbToOklab, linearToSrgb, monochromaticPalette, observable, oklabToColor, oklabToLinearRgb, oklabToOklch, oklchToColor, oklchToOklab, rayPlaneZ0, readCastShadowFlag, readEnableBits, readFlip, readLitFlag, readReceiveShadowsFlag, readShadowRadius, readSystemFlags, registerDebugArray, registerDebugTexture, relativeLuminance, resolveAlphaMap, resolveHitTestMode, resolveSortLayer, resolveTextureOptions, reverseAnimation, shallowEqual, splitComplementary, srgbToLinear, tetradic, tileToRegions, tilesetCellAt, tilesetToRegions, touchDebugArray, touchDebugTexture, triadic, unregisterDebugArray, unregisterDebugTexture, uvToWorld, wcagLevel, wholeTextureRegion, worldToUV, wrapWithLightFlags }; //# sourceMappingURL=index.d.ts.map