/** * `shaders/std` — the authoring layer for shader definitions. * * A definition is a plain object handed to `defineShader`: a name, its props, and one field * that says what it draws (`paint:`, `effect:`, `map:` or `shape:`), written either from the * words exported here or as a raw `wgsl` body. `defineShader` compiles it to an ordinary * engine definition, so registry generation, framework components, editor metadata and * presets all work unchanged. The GPU math behind each word lives in `src/gpu/kit`. */ export { defineStd, defineShader } from './lower'; export { wgsl, WgslBody, isWgslBody, scanIdentifiers, wgslTypeForProp } from './wgsl'; export type { WgslSpec, WgslInput, WgslType, WgslHost } from './wgsl'; export { tintToward, pointwise, gather, displaceBy, paintThrough } from './filter'; export { radialMask } from './mask'; export { simulate, op, GridSim } from './sim'; export { pointer, pointerSpeed } from './signal'; export { p, Scalar } from './values'; export { crosses, recompileWhen, isZero, isValue, allOf, identityWhenever } from './slots'; export { ctx, pointwiseOp, resolveArg, resolveScalar, uniformOf } from './invoke'; export { d as schema } from '../gpu/kit/index'; export type { ArgSpec, CtxToken } from './invoke'; export { lerpToIdentity, selectMap } from '../gpu/scaffolds/uvRemapShader'; export type { UvMap, UvMapResult, UvMapSource, UvRemapHookParams } from '../gpu/scaffolds/uvRemapShader'; export type { FilterParams } from '../gpu/scaffolds/pointwiseFilter'; export type { RttFilterParams } from '../gpu/scaffolds/rttFilter'; export type { SdfShapeShaderSpec, SdfShapeBounds } from '../gpu/scaffolds/sdfShape'; export type { StdDefinition, StdDefinitionBase, StdPointwiseFilterDefinition, StdGatherFilterDefinition, StdWarpDefinition, StdShapeDefinition, StdGeneratorDefinition, StdCustomDefinition, StdProps, StdPropConfig, PointwiseEffect, GatherEffect, RecompileRule, IdentityRule, } from './types'; export type { TintTowardEffect, DisplaceByEffect } from './filter'; export type { PropRef, ScalarInput, ScalarSource } from './values'; export type { GridSimConfig, SimOutputRef, GridStepOp, GridDeriveOp } from './sim'; export type { PointerSignal, PointerSpeedSignal } from './signal'; export * as math from './math'; export * as shape from './shape'; export * as paint from './paint/fields'; export * as gradients from './paint/gradients'; export * as patterns from './paint/patterns'; export * as light from './paint/light'; export * as noise from './paint/noise'; export * as materials from './paint/materials'; export * as volume from './paint/volume'; export * as compose from './paint/compose'; export * as figures from './paint/figures'; export * as media from './paint/media'; export * as radiance from './paint/radiance'; export * as voxels from './paint/voxels'; export * as frames from './frames'; export * as warps from './warps'; export * as motion from './motion'; export * as mask from './mask'; export * as signal from './signal'; export * as effects from './effects/index'; export * as sim from './sim/index'; export { layered, layers } from './paint/compose'; export { paintFrame, resolveArgIn } from './invoke'; export { call, expr, asLocal, ZERO, WHITE0 } from '../gpu/composer'; export type { KitTexture, EmitContext } from '../gpu/contract'; export { reliefStylizeProps } from '../utilities/noiseStylize'; export { listOf, accumulate } from './lists'; export { listPropConfig } from '../utilities/listProps'; export type { ListPropSpec } from '../utilities/listProps'; export { animatedTime } from '../gpu/porters'; export { colorStopsPropConfig } from '../utilities/colorStops'; export type { ColorStop } from '../utilities/colorStops'; export { transformColor, transformPosition, transformColorSpace, colorSpaceOptions, transformBoolean, transformAngle, transformEdges, } from '../utilities/transformations'; export { registerShader, unregisterShader, getRegisteredShader, getRegisteredShaders, onShaderRegistered } from '../customShaders'; export type { GpuShaderDefinition as ShaderDefinition, GpuShaderDefinition, GpuFragmentParams, Expr } from '../gpu/contract'; export type { PropConfig, PropUIConfig, ComponentProps } from '../types'; export type { StdWgslFilterDefinition } from './types'; //# sourceMappingURL=index.d.ts.map