From 418db9bd5ce7a78affc1b149a81f1ee6c058dbed Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Sat, 14 Sep 2024 20:59:22 -0500 Subject: [PATCH] Remove duplicate WebGPU.Nodes artifact --- build/three.webgpu.nodes.js | 7 ------- build/three.webgpu.nodes.min.js | 6 ------ src/Three.WebGPU.Nodes.js | 16 ---------------- test/rollup.treeshake.config.js | 4 ++-- utils/build/rollup.config.js | 2 -- 5 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 build/three.webgpu.nodes.js delete mode 100644 build/three.webgpu.nodes.min.js delete mode 100644 src/Three.WebGPU.Nodes.js diff --git a/build/three.webgpu.nodes.js b/build/three.webgpu.nodes.js deleted file mode 100644 index 7fb6b459df3859..00000000000000 --- a/build/three.webgpu.nodes.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @license - * Copyright 2010-2024 Three.js Authors - * SPDX-License-Identifier: MIT - */ -export { ACESFilmicToneMapping, AddEquation, AddOperation, AdditiveAnimationBlendMode, AdditiveBlending, AgXToneMapping, AlphaFormat, AlwaysCompare, AlwaysDepth, AlwaysStencilFunc, AmbientLight, AnimationAction, AnimationClip, AnimationLoader, AnimationMixer, AnimationObjectGroup, AnimationUtils, ArcCurve, ArrayCamera, ArrowHelper, AttachedBindMode, Audio, AudioAnalyser, AudioContext, AudioListener, AudioLoader, AxesHelper, BackSide, BasicDepthPacking, BasicShadowMap, BatchedMesh, Bone, BooleanKeyframeTrack, Box2, Box3, Box3Helper, BoxGeometry, BoxHelper, BufferAttribute, BufferGeometry, BufferGeometryLoader, ByteType, Cache, Camera, CameraHelper, CanvasTexture, CapsuleGeometry, CatmullRomCurve3, CineonToneMapping, CircleGeometry, ClampToEdgeWrapping, Clock, Color, ColorKeyframeTrack, ColorManagement, CompressedArrayTexture, CompressedCubeTexture, CompressedTexture, CompressedTextureLoader, ConeGeometry, ConstantAlphaFactor, ConstantColorFactor, Controls, CubeCamera, CubeReflectionMapping, CubeRefractionMapping, CubeTexture, CubeTextureLoader, CubeUVReflectionMapping, CubicBezierCurve, CubicBezierCurve3, CubicInterpolant, CullFaceBack, CullFaceFront, CullFaceFrontBack, CullFaceNone, Curve, CurvePath, CustomBlending, CustomToneMapping, CylinderGeometry, Cylindrical, Data3DTexture, DataArrayTexture, DataTexture, DataTextureLoader, DataUtils, DecrementStencilOp, DecrementWrapStencilOp, DefaultLoadingManager, DepthFormat, DepthStencilFormat, DepthTexture, DetachedBindMode, DirectionalLight, DirectionalLightHelper, DiscreteInterpolant, DisplayP3ColorSpace, DodecahedronGeometry, DoubleSide, DstAlphaFactor, DstColorFactor, DynamicCopyUsage, DynamicDrawUsage, DynamicReadUsage, EdgesGeometry, EllipseCurve, EqualCompare, EqualDepth, EqualStencilFunc, EquirectangularReflectionMapping, EquirectangularRefractionMapping, Euler, EventDispatcher, ExtrudeGeometry, FileLoader, Float16BufferAttribute, Float32BufferAttribute, FloatType, Fog, FogExp2, FramebufferTexture, FrontSide, Frustum, GLBufferAttribute, GLSL1, GLSL3, GreaterCompare, GreaterDepth, GreaterEqualCompare, GreaterEqualDepth, GreaterEqualStencilFunc, GreaterStencilFunc, GridHelper, Group, HalfFloatType, HemisphereLight, HemisphereLightHelper, IcosahedronGeometry, ImageBitmapLoader, ImageLoader, ImageUtils, IncrementStencilOp, IncrementWrapStencilOp, InstancedBufferAttribute, InstancedBufferGeometry, InstancedInterleavedBuffer, InstancedMesh, Int16BufferAttribute, Int32BufferAttribute, Int8BufferAttribute, IntType, InterleavedBuffer, InterleavedBufferAttribute, Interpolant, InterpolateDiscrete, InterpolateLinear, InterpolateSmooth, InvertStencilOp, KeepStencilOp, KeyframeTrack, LOD, LatheGeometry, Layers, LessCompare, LessDepth, LessEqualCompare, LessEqualDepth, LessEqualStencilFunc, LessStencilFunc, Light, LightProbe, Line, Line3, LineBasicMaterial, LineCurve, LineCurve3, LineDashedMaterial, LineLoop, LineSegments, LinearDisplayP3ColorSpace, LinearFilter, LinearInterpolant, LinearMipMapLinearFilter, LinearMipMapNearestFilter, LinearMipmapLinearFilter, LinearMipmapNearestFilter, LinearSRGBColorSpace, LinearToneMapping, LinearTransfer, Loader, LoaderUtils, LoadingManager, LoopOnce, LoopPingPong, LoopRepeat, LuminanceAlphaFormat, LuminanceFormat, MOUSE, Material, MaterialLoader, MathUtils, Matrix2, Matrix3, Matrix4, MaxEquation, Mesh, MeshBasicMaterial, MeshDepthMaterial, MeshDistanceMaterial, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, MinEquation, MirroredRepeatWrapping, MixOperation, MultiplyBlending, MultiplyOperation, NearestFilter, NearestMipMapLinearFilter, NearestMipMapNearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NeutralToneMapping, NeverCompare, NeverDepth, NeverStencilFunc, NoBlending, NoColorSpace, NoToneMapping, NormalAnimationBlendMode, NormalBlending, NotEqualCompare, NotEqualDepth, NotEqualStencilFunc, NumberKeyframeTrack, Object3D, ObjectLoader, ObjectSpaceNormalMap, OctahedronGeometry, OneFactor, OneMinusConstantAlphaFactor, OneMinusConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, OrthographicCamera, P3Primaries, PCFShadowMap, PCFSoftShadowMap, Path, PerspectiveCamera, Plane, PlaneGeometry, PlaneHelper, PointLight, PointLightHelper, Points, PointsMaterial, PolarGridHelper, PolyhedronGeometry, PositionalAudio, PropertyBinding, PropertyMixer, QuadraticBezierCurve, QuadraticBezierCurve3, Quaternion, QuaternionKeyframeTrack, QuaternionLinearInterpolant, RED_GREEN_RGTC2_Format, RED_RGTC1_Format, REVISION, RGBADepthPacking, RGBAFormat, RGBAIntegerFormat, RGBA_ASTC_10x10_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_BPTC_Format, RGBA_ETC2_EAC_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGBDepthPacking, RGBFormat, RGBIntegerFormat, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGB_S3TC_DXT1_Format, RGDepthPacking, RGFormat, RGIntegerFormat, RawShaderMaterial, Ray, Raycaster, Rec709Primaries, RectAreaLight, RedFormat, RedIntegerFormat, ReinhardToneMapping, RenderTarget, RepeatWrapping, ReplaceStencilOp, ReverseSubtractEquation, RingGeometry, SIGNED_RED_GREEN_RGTC2_Format, SIGNED_RED_RGTC1_Format, SRGBColorSpace, SRGBTransfer, Scene, ShaderMaterial, ShadowMaterial, Shape, ShapeGeometry, ShapePath, ShapeUtils, ShortType, Skeleton, SkeletonHelper, SkinnedMesh, Source, Sphere, SphereGeometry, Spherical, SphericalHarmonics3, SplineCurve, SpotLight, SpotLightHelper, Sprite, SpriteMaterial, SrcAlphaFactor, SrcAlphaSaturateFactor, SrcColorFactor, StaticCopyUsage, StaticDrawUsage, StaticReadUsage, StereoCamera, StreamCopyUsage, StreamDrawUsage, StreamReadUsage, StringKeyframeTrack, SubtractEquation, SubtractiveBlending, TOUCH, TangentSpaceNormalMap, TetrahedronGeometry, Texture, TextureLoader, TextureUtils, TorusGeometry, TorusKnotGeometry, Triangle, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, TubeGeometry, UVMapping, Uint16BufferAttribute, Uint32BufferAttribute, Uint8BufferAttribute, Uint8ClampedBufferAttribute, Uniform, UniformsGroup, UnsignedByteType, UnsignedInt248Type, UnsignedInt5999Type, UnsignedIntType, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedShortType, VSMShadowMap, Vector2, Vector3, Vector4, VectorKeyframeTrack, VideoTexture, WebGL3DRenderTarget, WebGLArrayRenderTarget, WebGLCoordinateSystem, WebGLCubeRenderTarget, WebGLMultipleRenderTargets, WebGLRenderTarget, WebGPUCoordinateSystem, WireframeGeometry, WrapAroundEnding, ZeroCurvatureEnding, ZeroFactor, ZeroSlopeEnding, ZeroStencilOp, createCanvasElement } from './three.core.js'; -export { AONode, AfterImageNode, AmbientLightNode, AnaglyphPassNode, AnalyticLightNode, AnamorphicNode, ArrayElementNode, AssignNode, AttributeNode, BRDF_GGX, BRDF_Lambert, BasicEnvironmentNode, BatchNode, BloomNode, Break, BufferAttributeNode, BufferNode, BumpMapNode, BundleGroup, BypassNode, CacheNode, CodeNode, ColorSpaceNode, ComputeNode, ConstNode, ContextNode, Continue, ConvertNode, CubeTextureNode, DFGApprox, D_GGX, DenoiseNode, DepthOfFieldNode, DirectionalLightNode, Discard, DotScreenNode, EPSILON, EnvironmentNode, EquirectUVNode, ExpressionNode, FXAANode, F_Schlick, FilmNode, Fn, FogExp2Node, FogNode, FogRangeNode, FrontFacingNode, FunctionCallNode, FunctionNode, FunctionOverloadingNode, GLSLNodeParser, GTAONode, GaussianBlurNode, HemisphereLightNode, IESSpotLight, IESSpotLightNode, INFINITY, If, IndexNode, InstanceNode, InstancedPointsNodeMaterial, IrradianceNode, JoinNode, LightProbeNode, LightingContextNode, LightingModel, LightingNode, LightsNode, Line2NodeMaterial, LineBasicNodeMaterial, LineDashedNodeMaterial, Loop, LoopNode, Lut3DNode, MRTNode, MatcapUVNode, MaterialNode, MaterialReferenceNode, MaxMipLevelNode, MeshBasicNodeMaterial, MeshLambertNodeMaterial, MeshMatcapNodeMaterial, MeshNormalNodeMaterial, MeshPhongNodeMaterial, MeshPhysicalNodeMaterial, MeshSSSNodeMaterial, MeshStandardNodeMaterial, MeshToonNodeMaterial, ModelNode, ModelViewProjectionNode, MorphNode, Node, NodeAttribute, NodeBuilder, NodeCache, NodeCode, NodeFrame, NodeFunctionInput, NodeLoader, NodeMaterial, NodeMaterialLoader, NodeMaterialObserver, NodeObjectLoader, NodeShaderStage, NodeType, NodeUniform, NodeUpdateType, NodeUtils, NodeVar, NodeVarying, NormalMapNode, Object3DNode, OscNode, OutputStructNode, PI, PI2, PMREMGenerator, PMREMNode, ParallaxBarrierPassNode, ParameterNode, PassNode, PhongLightingModel, PhysicalLightingModel, PixelationPassNode, PointLightNode, PointUVNode, PointsNodeMaterial, PostProcessing, PosterizeNode, PropertyNode, QuadMesh, RGBShiftNode, RTTNode, RangeNode, RectAreaLightNode, ReferenceNode, ReflectorNode, RemapNode, RenderOutputNode, RendererReferenceNode, Return, RotateNode, SSAAPassNode, SceneNode, Schlick_to_F0, ScreenNode, ScriptableNode, ScriptableValueNode, SetNode, ShaderNode, ShadowNodeMaterial, SkinningNode, SobelOperatorNode, SplitNode, SpotLightNode, SpriteNodeMaterial, SpriteSheetUVNode, StackNode, StereoPassNode, StorageArrayElementNode, StorageBufferAttribute, StorageBufferNode, StorageInstancedBufferAttribute, StorageTexture, StorageTextureNode, TBNViewMatrix, TempNode, Texture3DNode, TextureNode, TextureSizeNode, TimerNode, ToneMappingNode, TransitionNode, TriplanarTexturesNode, UniformArrayNode, UniformGroupNode, UniformNode, UserDataNode, V_GGX_SmithCorrelated, VarNode, VaryingNode, VertexColorNode, ViewportDepthNode, ViewportDepthTextureNode, ViewportSharedTextureNode, ViewportTextureNode, VolumeNodeMaterial, WebGPURenderer, abs, acesFilmicToneMapping, acos, add, addMethodChaining, addNodeElement, afterImage, agxToneMapping, all, alphaT, anaglyphPass, anamorphic, and, anisotropy, anisotropyB, anisotropyT, any, ao, append, arrayBuffer, asin, assign, atan, atan2, attenuationColor, attenuationDistance, attribute, backgroundBlurriness, backgroundIntensity, batch, billboarding, bitAnd, bitNot, bitOr, bitXor, bitangentGeometry, bitangentLocal, bitangentView, bitangentWorld, bitcast, bleach, bloom, blur, bool, buffer, bufferAttribute, bumpMap, burn, bvec2, bvec3, bvec4, bypass, cache, call, cameraFar, cameraLogDepth, cameraNear, cameraNormalMatrix, cameraPosition, cameraProjectionMatrix, cameraProjectionMatrixInverse, cameraViewMatrix, cameraWorldMatrix, cbrt, ceil, checker, cineonToneMapping, clamp, clearcoat, clearcoatRoughness, code, color, colorSpaceToWorking, colorToDirection, compute, cond, context, convert, convertToTexture, cos, cross, cubeTexture, dFdx, dFdy, dashSize, defaultBuildStages, defaultShaderStages, defined, degrees, denoise, densityFog, depth, depthPass, difference, diffuseColor, directionToColor, dispersion, distance, div, dodge, dof, dot, dotScreen, drawIndex, dynamicBufferAttribute, element, emissive, equal, equals, equirectUV, exp, exp2, expression, faceDirection, faceForward, film, float, floor, fog, fract, frameGroup, frameId, frontFacing, fwidth, fxaa, gain, gapSize, gaussianBlur, getColorSpaceMethod, getConstNodeType, getCurrentStack, getDirection, getDistanceAttenuation, getGeometryRoughness, getRoughness, getShIrradianceAt, getTextureIndex, global, glsl, glslFn, grayscale, greaterThan, greaterThanEqual, hash, highPrecisionModelNormalViewMatrix, highPrecisionModelViewMatrix, hue, instance, instanceIndex, instancedBufferAttribute, instancedDynamicBufferAttribute, int, inverseSqrt, invocationLocalIndex, ior, iridescence, iridescenceIOR, iridescenceThickness, ivec2, ivec3, ivec4, js, label, length, lengthSq, lessThan, lessThanEqual, lightPosition, lightTargetDirection, lightTargetPosition, lightViewPosition, lightingContext, lights, linearDepth, linearSRGBTosRGB, linearToneMapping, log, log2, loop, luminance, lut3D, mat2, mat3, mat4, matcapUV, materialAOMap, materialAlphaTest, materialAnisotropy, materialAnisotropyVector, materialAttenuationColor, materialAttenuationDistance, materialClearcoat, materialClearcoatNormal, materialClearcoatRoughness, materialColor, materialDispersion, materialEmissive, materialIOR, materialIridescence, materialIridescenceIOR, materialIridescenceThickness, materialLightMap, materialLineDashOffset, materialLineDashSize, materialLineGapSize, materialLineScale, materialLineWidth, materialMetalness, materialNormal, materialOpacity, materialPointWidth, materialReference, materialReflectivity, materialRefractionRatio, materialRotation, materialRoughness, materialSheen, materialSheenRoughness, materialShininess, materialSpecular, materialSpecularColor, materialSpecularIntensity, materialSpecularStrength, materialThickness, materialTransmission, max, maxMipLevel, metalness, min, mix, mixElement, mod, modInt, modelDirection, modelNormalMatrix, modelPosition, modelScale, modelViewMatrix, modelViewPosition, modelViewProjection, modelWorldMatrix, modelWorldMatrixInverse, morphReference, motionBlur, mrt, mul, mx_aastep, mx_cell_noise_float, mx_contrast, mx_fractal_noise_float, mx_fractal_noise_vec2, mx_fractal_noise_vec3, mx_fractal_noise_vec4, mx_hsvtorgb, mx_noise_float, mx_noise_vec3, mx_noise_vec4, mx_ramplr, mx_ramptb, mx_rgbtohsv, mx_safepower, mx_splitlr, mx_splittb, mx_srgb_texture_to_lin_rec709, mx_transform_uv, mx_worley_noise_float, mx_worley_noise_vec2, mx_worley_noise_vec3, negate, neutralToneMapping, nodeArray, nodeImmutable, nodeObject, nodeObjects, nodeProxy, normalFlat, normalGeometry, normalLocal, normalMap, normalView, normalWorld, normalize, not, notEqual, objectDirection, objectGroup, objectPosition, objectScale, objectViewPosition, objectWorldMatrix, oneMinus, or, orthographicDepthToViewZ, oscSawtooth, oscSine, oscSquare, oscTriangle, output, outputStruct, overlay, overloadingFn, parabola, parallaxBarrierPass, parallaxDirection, parallaxUV, parameter, pass, passTexture, pcurve, perspectiveDepthToViewZ, pixelationPass, pmremTexture, pointUV, pointWidth, positionGeometry, positionLocal, positionPrevious, positionView, positionViewDirection, positionWorld, positionWorldDirection, posterize, pow, pow2, pow3, pow4, property, radians, rand, range, rangeFog, reciprocal, reference, referenceBuffer, reflect, reflectVector, reflectView, reflector, refract, refractVector, refractView, reinhardToneMapping, remainder, remap, remapClamp, renderGroup, renderOutput, rendererReference, rgbShift, rotate, rotateUV, roughness, round, rtt, sRGBToLinearSRGB, sampler, saturate, saturation, screen, screenCoordinate, screenSize, screenUV, scriptable, scriptableValue, select, sepia, setCurrentStack, shaderStages, sharedUniformGroup, sheen, sheenRoughness, shiftLeft, shiftRight, shininess, sign, sin, sinc, skinning, skinningReference, smoothstep, smoothstepElement, sobel, specularColor, specularF90, spherizeUV, split, spritesheetUV, sqrt, ssaaPass, stack, step, stereoPass, storage, storageBarrier, storageObject, storageTexture, string, sub, tan, tangentGeometry, tangentLocal, tangentView, tangentWorld, temp, texture, texture3D, textureBarrier, textureBicubic, textureCubeUV, textureLoad, textureSize, textureStore, thickness, threshold, timerDelta, timerGlobal, timerLocal, toOutputColorSpace, toWorkingColorSpace, toneMapping, toneMappingExposure, transformDirection, transformNormal, transformNormalToView, transformedBentNormalView, transformedBitangentView, transformedBitangentWorld, transformedClearcoatNormalView, transformedNormalView, transformedNormalWorld, transformedTangentView, transformedTangentWorld, transition, transmission, transpose, tri, tri3, triNoise3D, triplanarTexture, triplanarTextures, trunc, tslFn, uint, uniform, uniformArray, uniformGroup, uniforms, userData, uv, uvec2, uvec3, uvec4, varying, varyingProperty, vec2, vec3, vec4, vectorComponents, velocity, vertexColor, vertexIndex, vibrance, viewZToOrthographicDepth, viewZToPerspectiveDepth, viewport, viewportBottomLeft, viewportCoordinate, viewportDepthTexture, viewportLinearDepth, viewportMipTexture, viewportResolution, viewportSafeUV, viewportSharedTexture, viewportSize, viewportTexture, viewportTopLeft, viewportUV, wgsl, wgslFn, workgroupArray, workgroupBarrier, workingToColorSpace, xor } from './three.webgpu.js'; diff --git a/build/three.webgpu.nodes.min.js b/build/three.webgpu.nodes.min.js deleted file mode 100644 index 40dc51274a2151..00000000000000 --- a/build/three.webgpu.nodes.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @license - * Copyright 2010-2024 Three.js Authors - * SPDX-License-Identifier: MIT - */ -export{a0 as ACESFilmicToneMapping,ar as AddEquation,aa as AddOperation,fe as AdditiveAnimationBlendMode,aM as AdditiveBlending,$ as AgXToneMapping,bp as AlphaFormat,b5 as AlwaysCompare,aV as AlwaysDepth,fA as AlwaysStencilFunc,cU as AmbientLight,dg as AnimationAction,df as AnimationClip,cy as AnimationLoader,de as AnimationMixer,dd as AnimationObjectGroup,dc as AnimationUtils,eK as ArcCurve,c4 as ArrayCamera,dW as ArrowHelper,eY as AttachedBindMode,d2 as Audio,d1 as AudioAnalyser,d0 as AudioContext,c_ as AudioListener,cO as AudioLoader,dX as AxesHelper,e as BackSide,fi as BasicDepthPacking,eX as BasicShadowMap,cl as BatchedMesh,cj as Bone,d8 as BooleanKeyframeTrack,dH as Box2,dG as Box3,dU as Box3Helper,B as BoxGeometry,dT as BoxHelper,t as BufferAttribute,s as BufferGeometry,cF as BufferGeometryLoader,bn as ByteType,cN as Cache,cZ as Camera,dS as CameraHelper,cx as CanvasTexture,e6 as CapsuleGeometry,eL as CatmullRomCurve3,a1 as CineonToneMapping,e7 as CircleGeometry,a_ as ClampToEdgeWrapping,dt as Clock,C as Color,d7 as ColorKeyframeTrack,f as ColorManagement,cv as CompressedArrayTexture,cw as CompressedCubeTexture,cu as CompressedTexture,cz as CompressedTextureLoader,e8 as ConeGeometry,aH as ConstantAlphaFactor,aF as ConstantColorFactor,e1 as Controls,cY as CubeCamera,o as CubeReflectionMapping,p as CubeRefractionMapping,X as CubeTexture,cA as CubeTextureLoader,b as CubeUVReflectionMapping,eM as CubicBezierCurve,eN as CubicBezierCurve3,dx as CubicInterpolant,aO as CullFaceBack,aP as CullFaceFront,eW as CullFaceFrontBack,aN as CullFaceNone,e0 as Curve,d$ as CurvePath,aJ as CustomBlending,Z as CustomToneMapping,e9 as CylinderGeometry,dC as Cylindrical,Q as Data3DTexture,G as DataArrayTexture,ct as DataTexture,cB as DataTextureLoader,e2 as DataUtils,fp as DecrementStencilOp,fr as DecrementWrapStencilOp,cG as DefaultLoadingManager,bi as DepthFormat,bc as DepthStencilFormat,K as DepthTexture,eZ as DetachedBindMode,cT as DirectionalLight,dR as DirectionalLightHelper,dw as DiscreteInterpolant,a7 as DisplayP3ColorSpace,ea as DodecahedronGeometry,ai as DoubleSide,aA as DstAlphaFactor,az as DstColorFactor,fI as DynamicCopyUsage,fC as DynamicDrawUsage,fF as DynamicReadUsage,eb as EdgesGeometry,eO as EllipseCurve,b7 as EqualCompare,aT as EqualDepth,fv as EqualStencilFunc,l as EquirectangularReflectionMapping,n as EquirectangularRefractionMapping,E as Euler,c3 as EventDispatcher,ec as ExtrudeGeometry,cK as FileLoader,eE as Float16BufferAttribute,eD as Float32BufferAttribute,j as FloatType,cd as Fog,cc as FogExp2,cr as FramebufferTexture,F as FrontSide,al as Frustum,dq as GLBufferAttribute,fK as GLSL1,Y as GLSL3,b9 as GreaterCompare,aR as GreaterDepth,b8 as GreaterEqualCompare,aS as GreaterEqualDepth,fz as GreaterEqualStencilFunc,fx as GreaterStencilFunc,dP as GridHelper,c2 as Group,H as HalfFloatType,cS as HemisphereLight,dO as HemisphereLightHelper,ed as IcosahedronGeometry,cJ as ImageBitmapLoader,cI as ImageLoader,e3 as ImageUtils,fo as IncrementStencilOp,fq as IncrementWrapStencilOp,dp as InstancedBufferAttribute,dk as InstancedBufferGeometry,dm as InstancedInterleavedBuffer,ck as InstancedMesh,eG as Int16BufferAttribute,eF as Int32BufferAttribute,eJ as Int8BufferAttribute,I as IntType,dn as InterleavedBuffer,dl as InterleavedBufferAttribute,dy as Interpolant,f7 as InterpolateDiscrete,f8 as InterpolateLinear,f9 as InterpolateSmooth,fs as InvertStencilOp,fm as KeepStencilOp,db as KeyframeTrack,cg as LOD,ee as LatheGeometry,ak as Layers,b6 as LessCompare,aU as LessDepth,J as LessEqualCompare,aq as LessEqualDepth,fw as LessEqualStencilFunc,fu as LessStencilFunc,cV as Light,cW as LightProbe,co as Line,dI as Line3,eB as LineBasicMaterial,eP as LineCurve,eQ as LineCurve3,eA as LineDashedMaterial,cn as LineLoop,cm as LineSegments,a9 as LinearDisplayP3ColorSpace,L as LinearFilter,dv as LinearInterpolant,f2 as LinearMipMapLinearFilter,f1 as LinearMipMapNearestFilter,b3 as LinearMipmapLinearFilter,b2 as LinearMipmapNearestFilter,w as LinearSRGBColorSpace,a3 as LinearToneMapping,be as LinearTransfer,cL as Loader,cM as LoaderUtils,cH as LoadingManager,f4 as LoopOnce,f6 as LoopPingPong,f5 as LoopRepeat,bs as LuminanceAlphaFormat,br as LuminanceFormat,eU as MOUSE,eC as Material,cE as MaterialLoader,dA as MathUtils,dF as Matrix2,M as Matrix3,i as Matrix4,aY as MaxEquation,c as Mesh,r as MeshBasicMaterial,am as MeshDepthMaterial,ao as MeshDistanceMaterial,ey as MeshLambertMaterial,ez as MeshMatcapMaterial,ex as MeshNormalMaterial,ev as MeshPhongMaterial,et as MeshPhysicalMaterial,eu as MeshStandardMaterial,ew as MeshToonMaterial,aX as MinEquation,a$ as MirroredRepeatWrapping,ab as MixOperation,aK as MultiplyBlending,ac as MultiplyOperation,ap as NearestFilter,f0 as NearestMipMapLinearFilter,e$ as NearestMipMapNearestFilter,b1 as NearestMipmapLinearFilter,b0 as NearestMipmapNearestFilter,_ as NeutralToneMapping,b4 as NeverCompare,aW as NeverDepth,ft as NeverStencilFunc,v as NoBlending,bb as NoColorSpace,N as NoToneMapping,fd as NormalAnimationBlendMode,ah as NormalBlending,ba as NotEqualCompare,aQ as NotEqualDepth,fy as NotEqualStencilFunc,d6 as NumberKeyframeTrack,dr as Object3D,cD as ObjectLoader,af as ObjectSpaceNormalMap,ef as OctahedronGeometry,av as OneFactor,aI as OneMinusConstantAlphaFactor,aG as OneMinusConstantColorFactor,aE as OneMinusDstAlphaFactor,aD as OneMinusDstColorFactor,aC as OneMinusSrcAlphaFactor,aB as OneMinusSrcColorFactor,O as OrthographicCamera,ad as P3Primaries,a4 as PCFShadowMap,a5 as PCFSoftShadowMap,dZ as Path,q as PerspectiveCamera,k as Plane,P as PlaneGeometry,dV as PlaneHelper,cQ as PointLight,dN as PointLightHelper,cp as Points,es as PointsMaterial,dQ as PolarGridHelper,eg as PolyhedronGeometry,c$ as PositionalAudio,da as PropertyBinding,d9 as PropertyMixer,eR as QuadraticBezierCurve,eS as QuadraticBezierCurve3,dJ as Quaternion,d5 as QuaternionKeyframeTrack,du as QuaternionLinearInterpolant,c0 as RED_GREEN_RGTC2_Format,b_ as RED_RGTC1_Format,c7 as REVISION,an as RGBADepthPacking,R as RGBAFormat,bx as RGBAIntegerFormat,bU as RGBA_ASTC_10x10_Format,bR as RGBA_ASTC_10x5_Format,bS as RGBA_ASTC_10x6_Format,bT as RGBA_ASTC_10x8_Format,bV as RGBA_ASTC_12x10_Format,bW as RGBA_ASTC_12x12_Format,bJ as RGBA_ASTC_4x4_Format,bK as RGBA_ASTC_5x4_Format,bL as RGBA_ASTC_5x5_Format,bM as RGBA_ASTC_6x5_Format,bN as RGBA_ASTC_6x6_Format,bO as RGBA_ASTC_8x5_Format,bP as RGBA_ASTC_8x6_Format,bQ as RGBA_ASTC_8x8_Format,bX as RGBA_BPTC_Format,bI as RGBA_ETC2_EAC_Format,bF as RGBA_PVRTC_2BPPV1_Format,bE as RGBA_PVRTC_4BPPV1_Format,bz as RGBA_S3TC_DXT1_Format,bA as RGBA_S3TC_DXT3_Format,bB as RGBA_S3TC_DXT5_Format,fj as RGBDepthPacking,bq as RGBFormat,f3 as RGBIntegerFormat,bY as RGB_BPTC_SIGNED_Format,bZ as RGB_BPTC_UNSIGNED_Format,bG as RGB_ETC1_Format,bH as RGB_ETC2_Format,bD as RGB_PVRTC_2BPPV1_Format,bC as RGB_PVRTC_4BPPV1_Format,by as RGB_S3TC_DXT1_Format,fk as RGDepthPacking,bv as RGFormat,bw as RGIntegerFormat,er as RawShaderMaterial,dE as Ray,ds as Raycaster,ae as Rec709Primaries,cR as RectAreaLight,bt as RedFormat,bu as RedIntegerFormat,a2 as ReinhardToneMapping,dh as RenderTarget,aZ as RepeatWrapping,fn as ReplaceStencilOp,at as ReverseSubtractEquation,eh as RingGeometry,c1 as SIGNED_RED_GREEN_RGTC2_Format,b$ as SIGNED_RED_RGTC1_Format,a8 as SRGBColorSpace,g as SRGBTransfer,ce as Scene,S as ShaderMaterial,ep as ShadowMaterial,dY as Shape,ei as ShapeGeometry,d_ as ShapePath,e4 as ShapeUtils,bo as ShortType,ci as Skeleton,dM as SkeletonHelper,ch as SkinnedMesh,cs as Source,dD as Sphere,ej as SphereGeometry,dB as Spherical,dK as SphericalHarmonics3,eT as SplineCurve,cP as SpotLight,dL as SpotLightHelper,cf as Sprite,eq as SpriteMaterial,ax as SrcAlphaFactor,ay as SrcAlphaSaturateFactor,aw as SrcColorFactor,fH as StaticCopyUsage,fB as StaticDrawUsage,fE as StaticReadUsage,cX as StereoCamera,fJ as StreamCopyUsage,fD as StreamDrawUsage,fG as StreamReadUsage,d4 as StringKeyframeTrack,as as SubtractEquation,aL as SubtractiveBlending,eV as TOUCH,ag as TangentSpaceNormalMap,ek as TetrahedronGeometry,T as Texture,cC as TextureLoader,e5 as TextureUtils,el as TorusGeometry,em as TorusKnotGeometry,dz as Triangle,fh as TriangleFanDrawMode,fg as TriangleStripDrawMode,ff as TrianglesDrawMode,en as TubeGeometry,e_ as UVMapping,A as Uint16BufferAttribute,z as Uint32BufferAttribute,eI as Uint8BufferAttribute,eH as Uint8ClampedBufferAttribute,di as Uniform,dj as UniformsGroup,U as UnsignedByteType,bg as UnsignedInt248Type,bm as UnsignedInt5999Type,bf as UnsignedIntType,bk as UnsignedShort4444Type,bl as UnsignedShort5551Type,bh as UnsignedShortType,a6 as VSMShadowMap,V as Vector2,a as Vector3,D as Vector4,d3 as VectorKeyframeTrack,cq as VideoTexture,cb as WebGL3DRenderTarget,ca as WebGLArrayRenderTarget,c9 as WebGLCoordinateSystem,W as WebGLCubeRenderTarget,fM as WebGLMultipleRenderTargets,u as WebGLRenderTarget,fL as WebGPUCoordinateSystem,eo as WireframeGeometry,fc as WrapAroundEnding,fa as ZeroCurvatureEnding,au as ZeroFactor,fb as ZeroSlopeEnding,fl as ZeroStencilOp,c6 as createCanvasElement}from"./three.core.min.js";export{AONode,AfterImageNode,AmbientLightNode,AnaglyphPassNode,AnalyticLightNode,AnamorphicNode,ArrayElementNode,AssignNode,AttributeNode,BRDF_GGX,BRDF_Lambert,BasicEnvironmentNode,BatchNode,BloomNode,Break,BufferAttributeNode,BufferNode,BumpMapNode,BundleGroup,BypassNode,CacheNode,CodeNode,ColorSpaceNode,ComputeNode,ConstNode,ContextNode,Continue,ConvertNode,CubeTextureNode,DFGApprox,D_GGX,DenoiseNode,DepthOfFieldNode,DirectionalLightNode,Discard,DotScreenNode,EPSILON,EnvironmentNode,EquirectUVNode,ExpressionNode,FXAANode,F_Schlick,FilmNode,Fn,FogExp2Node,FogNode,FogRangeNode,FrontFacingNode,FunctionCallNode,FunctionNode,FunctionOverloadingNode,GLSLNodeParser,GTAONode,GaussianBlurNode,HemisphereLightNode,IESSpotLight,IESSpotLightNode,INFINITY,If,IndexNode,InstanceNode,InstancedPointsNodeMaterial,IrradianceNode,JoinNode,LightProbeNode,LightingContextNode,LightingModel,LightingNode,LightsNode,Line2NodeMaterial,LineBasicNodeMaterial,LineDashedNodeMaterial,Loop,LoopNode,Lut3DNode,MRTNode,MatcapUVNode,MaterialNode,MaterialReferenceNode,MaxMipLevelNode,MeshBasicNodeMaterial,MeshLambertNodeMaterial,MeshMatcapNodeMaterial,MeshNormalNodeMaterial,MeshPhongNodeMaterial,MeshPhysicalNodeMaterial,MeshSSSNodeMaterial,MeshStandardNodeMaterial,MeshToonNodeMaterial,ModelNode,ModelViewProjectionNode,MorphNode,Node,NodeAttribute,NodeBuilder,NodeCache,NodeCode,NodeFrame,NodeFunctionInput,NodeLoader,NodeMaterial,NodeMaterialLoader,NodeMaterialObserver,NodeObjectLoader,NodeShaderStage,NodeType,NodeUniform,NodeUpdateType,NodeUtils,NodeVar,NodeVarying,NormalMapNode,Object3DNode,OscNode,OutputStructNode,PI,PI2,PMREMGenerator,PMREMNode,ParallaxBarrierPassNode,ParameterNode,PassNode,PhongLightingModel,PhysicalLightingModel,PixelationPassNode,PointLightNode,PointUVNode,PointsNodeMaterial,PostProcessing,PosterizeNode,PropertyNode,QuadMesh,RGBShiftNode,RTTNode,RangeNode,RectAreaLightNode,ReferenceNode,ReflectorNode,RemapNode,RenderOutputNode,RendererReferenceNode,Return,RotateNode,SSAAPassNode,SceneNode,Schlick_to_F0,ScreenNode,ScriptableNode,ScriptableValueNode,SetNode,ShaderNode,ShadowNodeMaterial,SkinningNode,SobelOperatorNode,SplitNode,SpotLightNode,SpriteNodeMaterial,SpriteSheetUVNode,StackNode,StereoPassNode,StorageArrayElementNode,StorageBufferAttribute,StorageBufferNode,StorageInstancedBufferAttribute,StorageTexture,StorageTextureNode,TBNViewMatrix,TempNode,Texture3DNode,TextureNode,TextureSizeNode,TimerNode,ToneMappingNode,TransitionNode,TriplanarTexturesNode,UniformArrayNode,UniformGroupNode,UniformNode,UserDataNode,V_GGX_SmithCorrelated,VarNode,VaryingNode,VertexColorNode,ViewportDepthNode,ViewportDepthTextureNode,ViewportSharedTextureNode,ViewportTextureNode,VolumeNodeMaterial,WebGPURenderer,abs,acesFilmicToneMapping,acos,add,addMethodChaining,addNodeElement,afterImage,agxToneMapping,all,alphaT,anaglyphPass,anamorphic,and,anisotropy,anisotropyB,anisotropyT,any,ao,append,arrayBuffer,asin,assign,atan,atan2,attenuationColor,attenuationDistance,attribute,backgroundBlurriness,backgroundIntensity,batch,billboarding,bitAnd,bitNot,bitOr,bitXor,bitangentGeometry,bitangentLocal,bitangentView,bitangentWorld,bitcast,bleach,bloom,blur,bool,buffer,bufferAttribute,bumpMap,burn,bvec2,bvec3,bvec4,bypass,cache,call,cameraFar,cameraLogDepth,cameraNear,cameraNormalMatrix,cameraPosition,cameraProjectionMatrix,cameraProjectionMatrixInverse,cameraViewMatrix,cameraWorldMatrix,cbrt,ceil,checker,cineonToneMapping,clamp,clearcoat,clearcoatRoughness,code,color,colorSpaceToWorking,colorToDirection,compute,cond,context,convert,convertToTexture,cos,cross,cubeTexture,dFdx,dFdy,dashSize,defaultBuildStages,defaultShaderStages,defined,degrees,denoise,densityFog,depth,depthPass,difference,diffuseColor,directionToColor,dispersion,distance,div,dodge,dof,dot,dotScreen,drawIndex,dynamicBufferAttribute,element,emissive,equal,equals,equirectUV,exp,exp2,expression,faceDirection,faceForward,film,float,floor,fog,fract,frameGroup,frameId,frontFacing,fwidth,fxaa,gain,gapSize,gaussianBlur,getColorSpaceMethod,getConstNodeType,getCurrentStack,getDirection,getDistanceAttenuation,getGeometryRoughness,getRoughness,getShIrradianceAt,getTextureIndex,global,glsl,glslFn,grayscale,greaterThan,greaterThanEqual,hash,highPrecisionModelNormalViewMatrix,highPrecisionModelViewMatrix,hue,instance,instanceIndex,instancedBufferAttribute,instancedDynamicBufferAttribute,int,inverseSqrt,invocationLocalIndex,ior,iridescence,iridescenceIOR,iridescenceThickness,ivec2,ivec3,ivec4,js,label,length,lengthSq,lessThan,lessThanEqual,lightPosition,lightTargetDirection,lightTargetPosition,lightViewPosition,lightingContext,lights,linearDepth,linearSRGBTosRGB,linearToneMapping,log,log2,loop,luminance,lut3D,mat2,mat3,mat4,matcapUV,materialAOMap,materialAlphaTest,materialAnisotropy,materialAnisotropyVector,materialAttenuationColor,materialAttenuationDistance,materialClearcoat,materialClearcoatNormal,materialClearcoatRoughness,materialColor,materialDispersion,materialEmissive,materialIOR,materialIridescence,materialIridescenceIOR,materialIridescenceThickness,materialLightMap,materialLineDashOffset,materialLineDashSize,materialLineGapSize,materialLineScale,materialLineWidth,materialMetalness,materialNormal,materialOpacity,materialPointWidth,materialReference,materialReflectivity,materialRefractionRatio,materialRotation,materialRoughness,materialSheen,materialSheenRoughness,materialShininess,materialSpecular,materialSpecularColor,materialSpecularIntensity,materialSpecularStrength,materialThickness,materialTransmission,max,maxMipLevel,metalness,min,mix,mixElement,mod,modInt,modelDirection,modelNormalMatrix,modelPosition,modelScale,modelViewMatrix,modelViewPosition,modelViewProjection,modelWorldMatrix,modelWorldMatrixInverse,morphReference,motionBlur,mrt,mul,mx_aastep,mx_cell_noise_float,mx_contrast,mx_fractal_noise_float,mx_fractal_noise_vec2,mx_fractal_noise_vec3,mx_fractal_noise_vec4,mx_hsvtorgb,mx_noise_float,mx_noise_vec3,mx_noise_vec4,mx_ramplr,mx_ramptb,mx_rgbtohsv,mx_safepower,mx_splitlr,mx_splittb,mx_srgb_texture_to_lin_rec709,mx_transform_uv,mx_worley_noise_float,mx_worley_noise_vec2,mx_worley_noise_vec3,negate,neutralToneMapping,nodeArray,nodeImmutable,nodeObject,nodeObjects,nodeProxy,normalFlat,normalGeometry,normalLocal,normalMap,normalView,normalWorld,normalize,not,notEqual,objectDirection,objectGroup,objectPosition,objectScale,objectViewPosition,objectWorldMatrix,oneMinus,or,orthographicDepthToViewZ,oscSawtooth,oscSine,oscSquare,oscTriangle,output,outputStruct,overlay,overloadingFn,parabola,parallaxBarrierPass,parallaxDirection,parallaxUV,parameter,pass,passTexture,pcurve,perspectiveDepthToViewZ,pixelationPass,pmremTexture,pointUV,pointWidth,positionGeometry,positionLocal,positionPrevious,positionView,positionViewDirection,positionWorld,positionWorldDirection,posterize,pow,pow2,pow3,pow4,property,radians,rand,range,rangeFog,reciprocal,reference,referenceBuffer,reflect,reflectVector,reflectView,reflector,refract,refractVector,refractView,reinhardToneMapping,remainder,remap,remapClamp,renderGroup,renderOutput,rendererReference,rgbShift,rotate,rotateUV,roughness,round,rtt,sRGBToLinearSRGB,sampler,saturate,saturation,screen,screenCoordinate,screenSize,screenUV,scriptable,scriptableValue,select,sepia,setCurrentStack,shaderStages,sharedUniformGroup,sheen,sheenRoughness,shiftLeft,shiftRight,shininess,sign,sin,sinc,skinning,skinningReference,smoothstep,smoothstepElement,sobel,specularColor,specularF90,spherizeUV,split,spritesheetUV,sqrt,ssaaPass,stack,step,stereoPass,storage,storageBarrier,storageObject,storageTexture,string,sub,tan,tangentGeometry,tangentLocal,tangentView,tangentWorld,temp,texture,texture3D,textureBarrier,textureBicubic,textureCubeUV,textureLoad,textureSize,textureStore,thickness,threshold,timerDelta,timerGlobal,timerLocal,toOutputColorSpace,toWorkingColorSpace,toneMapping,toneMappingExposure,transformDirection,transformNormal,transformNormalToView,transformedBentNormalView,transformedBitangentView,transformedBitangentWorld,transformedClearcoatNormalView,transformedNormalView,transformedNormalWorld,transformedTangentView,transformedTangentWorld,transition,transmission,transpose,tri,tri3,triNoise3D,triplanarTexture,triplanarTextures,trunc,tslFn,uint,uniform,uniformArray,uniformGroup,uniforms,userData,uv,uvec2,uvec3,uvec4,varying,varyingProperty,vec2,vec3,vec4,vectorComponents,velocity,vertexColor,vertexIndex,vibrance,viewZToOrthographicDepth,viewZToPerspectiveDepth,viewport,viewportBottomLeft,viewportCoordinate,viewportDepthTexture,viewportLinearDepth,viewportMipTexture,viewportResolution,viewportSafeUV,viewportSharedTexture,viewportSize,viewportTexture,viewportTopLeft,viewportUV,wgsl,wgslFn,workgroupArray,workgroupBarrier,workingToColorSpace,xor}from"./three.webgpu.min.js"; diff --git a/src/Three.WebGPU.Nodes.js b/src/Three.WebGPU.Nodes.js deleted file mode 100644 index f01d33ef9ace2b..00000000000000 --- a/src/Three.WebGPU.Nodes.js +++ /dev/null @@ -1,16 +0,0 @@ -export * from './Three.core.js'; - -export * from './materials/nodes/NodeMaterials.js'; -export { default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.Nodes.js'; -export { default as QuadMesh } from './renderers/common/QuadMesh.js'; -export { default as PMREMGenerator } from './renderers/common/extras/PMREMGenerator.js'; -export { default as PostProcessing } from './renderers/common/PostProcessing.js'; -export { default as StorageTexture } from './renderers/common/StorageTexture.js'; -export { default as StorageBufferAttribute } from './renderers/common/StorageBufferAttribute.js'; -export { default as StorageInstancedBufferAttribute } from './renderers/common/StorageInstancedBufferAttribute.js'; -export { default as IESSpotLight } from './lights/webgpu/IESSpotLight.js'; -export { default as NodeLoader } from './loaders/nodes/NodeLoader.js'; -export { default as NodeObjectLoader } from './loaders/nodes/NodeObjectLoader.js'; -export { default as NodeMaterialLoader } from './loaders/nodes/NodeMaterialLoader.js'; -export * from './nodes/Nodes.js'; -export * from './nodes/TSL.js'; diff --git a/test/rollup.treeshake.config.js b/test/rollup.treeshake.config.js index 2448a053cd9992..77d0c7bf22ea4a 100644 --- a/test/rollup.treeshake.config.js +++ b/test/rollup.treeshake.config.js @@ -98,7 +98,7 @@ export default [ ] }, { - input: 'test/treeshake/index.webgpu.nodes.js', + input: 'test/treeshake/index.webgpu.js', plugins: [ resolve() ], @@ -110,7 +110,7 @@ export default [ ] }, { - input: 'test/treeshake/index.webgpu.nodes.js', + input: 'test/treeshake/index.webgpu.js', plugins: [ resolve(), terser(), diff --git a/utils/build/rollup.config.js b/utils/build/rollup.config.js index b8225cbf05ef2a..396a57ef140835 100644 --- a/utils/build/rollup.config.js +++ b/utils/build/rollup.config.js @@ -65,7 +65,6 @@ const builds = [ input: { 'three.module.js': 'src/Three.js', 'three.webgpu.js': 'src/Three.WebGPU.js', - 'three.webgpu.nodes.js': 'src/Three.WebGPU.Nodes.js', }, plugins: [ glsl(), @@ -85,7 +84,6 @@ const builds = [ input: { 'three.module.min.js': 'src/Three.js', 'three.webgpu.min.js': 'src/Three.WebGPU.js', - 'three.webgpu.nodes.min.js': 'src/Three.WebGPU.Nodes.js', }, plugins: [ glsl(),