Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 51 additions & 27 deletions types/three/src/Three.TSL.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,51 @@ import * as TSL from "./nodes/TSL.js";

export const BRDF_GGX: typeof TSL.BRDF_GGX;
export const BRDF_Lambert: typeof TSL.BRDF_Lambert;
export const BRDF_Sheen: typeof TSL.BRDF_Sheen;
export const BasicPointShadowFilter: typeof TSL.BasicPointShadowFilter;
export const BasicShadowFilter: typeof TSL.BasicShadowFilter;
export const Break: typeof TSL.Break;
export const Const: typeof TSL.Const;
export const Continue: typeof TSL.Continue;
export const DFGLUT: typeof TSL.DFGLUT;
export const D_GGX: typeof TSL.D_GGX;
export const D_GGX_Anisotropic: typeof TSL.D_GGX_Anisotropic;
export const Discard: typeof TSL.Discard;
export const EPSILON: typeof TSL.EPSILON;
export const EnvironmentBRDF: typeof TSL.EnvironmentBRDF;
export const F_Schlick: typeof TSL.F_Schlick;
export const Fn: typeof TSL.Fn;
export const HALF_PI: typeof TSL.HALF_PI;
export const INFINITY: typeof TSL.INFINITY;
export const If: typeof TSL.If;
export const Loop: typeof TSL.Loop;
export const NodeAccess: typeof TSL.NodeAccess;
export const NodeShaderStage: typeof TSL.NodeShaderStage;
export const NodeType: typeof TSL.NodeType;
export const NodeUpdateType: typeof TSL.NodeUpdateType;
export const OnAfterObjectUpdate: typeof TSL.OnAfterObjectUpdate;
export const OnAfterRenderPipeline: typeof TSL.OnAfterRenderPipeline;
export const OnBeforeFrameUpdate: typeof TSL.OnBeforeFrameUpdate;
export const OnBeforeMaterialUpdate: typeof TSL.OnBeforeMaterialUpdate;
export const OnBeforeObjectUpdate: typeof TSL.OnBeforeObjectUpdate;
export const OnBeforeRenderPipeline: typeof TSL.OnBeforeRenderPipeline;
export const OnFrameUpdate: typeof TSL.OnFrameUpdate;
export const OnMaterialUpdate: typeof TSL.OnMaterialUpdate;
export const OnObjectUpdate: typeof TSL.OnObjectUpdate;
export const PCFShadowFilter: typeof TSL.PCFShadowFilter;
export const PI: typeof TSL.PI;
export const PI2: typeof TSL.PI2;
export const TWO_PI: typeof TSL.TWO_PI;
export const HALF_PI: typeof TSL.HALF_PI;
export const PointShadowFilter: typeof TSL.PointShadowFilter;
export const Return: typeof TSL.Return;
export const Schlick_to_F0: typeof TSL.Schlick_to_F0;
export const ShaderNode: typeof TSL.ShaderNode;
export const Stack: typeof TSL.Stack;
export const Switch: typeof TSL.Switch;
export const TBNViewMatrix: typeof TSL.TBNViewMatrix;
export const TWO_PI: typeof TSL.TWO_PI;
export const VSMShadowFilter: typeof TSL.VSMShadowFilter;
export const V_GGX_SmithCorrelated: typeof TSL.V_GGX_SmithCorrelated;
export const V_GGX_SmithCorrelated_Anisotropic: typeof TSL.V_GGX_SmithCorrelated_Anisotropic;
export const Var: typeof TSL.Var;
export const VarIntent: typeof TSL.VarIntent;
export const abs: typeof TSL.abs;
Expand Down Expand Up @@ -76,6 +89,7 @@ export const backgroundBlurriness: typeof TSL.backgroundBlurriness;
export const backgroundIntensity: typeof TSL.backgroundIntensity;
export const backgroundRotation: typeof TSL.backgroundRotation;
export const batch: typeof TSL.batch;
export const batchColor: typeof TSL.batchColor;
export const batchIndirectIndex: typeof TSL.batchIndirectIndex;
export const bentNormalView: typeof TSL.bentNormalView;
export const billboarding: typeof TSL.billboarding;
Expand All @@ -86,6 +100,7 @@ export const bitXor: typeof TSL.bitXor;
export const bitangentGeometry: typeof TSL.bitangentGeometry;
export const bitangentLocal: typeof TSL.bitangentLocal;
export const bitangentView: typeof TSL.bitangentView;
export const bitangentViewFrame: typeof TSL.bitangentViewFrame;
export const bitangentWorld: typeof TSL.bitangentWorld;
export const bitcast: typeof TSL.bitcast;
export const blendBurn: typeof TSL.blendBurn;
Expand All @@ -96,10 +111,10 @@ export const blendScreen: typeof TSL.blendScreen;
export const bool: typeof TSL.bool;
export const buffer: typeof TSL.buffer;
export const bufferAttribute: typeof TSL.bufferAttribute;
export const bumpMap: typeof TSL.bumpMap;
export const builtin: typeof TSL.builtin;
export const builtinAOContext: typeof TSL.builtinAOContext;
export const builtinShadowContext: typeof TSL.builtinShadowContext;
export const bumpMap: typeof TSL.bumpMap;
export const bvec2: typeof TSL.bvec2;
export const bvec3: typeof TSL.bvec3;
export const bvec4: typeof TSL.bvec4;
Expand All @@ -126,6 +141,8 @@ export const clearcoat: typeof TSL.clearcoat;
export const clearcoatNormalView: typeof TSL.clearcoatNormalView;
export const clearcoatRoughness: typeof TSL.clearcoatRoughness;
export const clipSpace: typeof TSL.clipSpace;
export const clipping: typeof TSL.clipping;
export const clippingAlpha: typeof TSL.clippingAlpha;
export const code: typeof TSL.code;
export const color: typeof TSL.color;
export const colorSpaceToWorking: typeof TSL.colorSpaceToWorking;
Expand All @@ -137,11 +154,11 @@ export const context: typeof TSL.context;
export const convert: typeof TSL.convert;
export const convertColorSpace: typeof TSL.convertColorSpace;
export const convertToTexture: typeof TSL.convertToTexture;
export const cos: typeof TSL.cos;
export const cosh: typeof TSL.cosh;
export const countLeadingZeros: typeof TSL.countLeadingZeros;
export const countOneBits: typeof TSL.countOneBits;
export const countTrailingZeros: typeof TSL.countTrailingZeros;
export const cos: typeof TSL.cos;
export const cosh: typeof TSL.cosh;
export const cross: typeof TSL.cross;
export const cubeTexture: typeof TSL.cubeTexture;
export const cubeTextureBase: typeof TSL.cubeTextureBase;
Expand All @@ -156,13 +173,13 @@ export const defaultShaderStages: typeof TSL.defaultShaderStages;
export const defined: typeof TSL.defined;
export const degrees: typeof TSL.degrees;
export const deltaTime: typeof TSL.deltaTime;
export const densityFog: typeof TSL.densityFog;
export const densityFogFactor: typeof TSL.densityFogFactor;
export const depth: typeof TSL.depth;
export const depthPass: typeof TSL.depthPass;
export const determinant: typeof TSL.determinant;
export const difference: typeof TSL.difference;
export const diffuseColor: typeof TSL.diffuseColor;
export const diffuseContribution: typeof TSL.diffuseContribution;
export const directPointLight: typeof TSL.directPointLight;
export const directionToColor: typeof TSL.directionToColor;
export const directionToFaceDirection: typeof TSL.directionToFaceDirection;
Expand Down Expand Up @@ -201,8 +218,6 @@ export const getCurrentStack: typeof TSL.getCurrentStack;
export const getDistanceAttenuation: typeof TSL.getDistanceAttenuation;
export const getGeometryRoughness: typeof TSL.getGeometryRoughness;
export const getNormalFromDepth: typeof TSL.getNormalFromDepth;
export const interleavedGradientNoise: typeof TSL.interleavedGradientNoise;
export const vogelDiskSample: typeof TSL.vogelDiskSample;
export const getParallaxCorrectNormal: typeof TSL.getParallaxCorrectNormal;
export const getRoughness: typeof TSL.getRoughness;
export const getScreenPosition: typeof TSL.getScreenPosition;
Expand All @@ -216,20 +231,24 @@ export const glslFn: typeof TSL.glslFn;
export const grayscale: typeof TSL.grayscale;
export const greaterThan: typeof TSL.greaterThan;
export const greaterThanEqual: typeof TSL.greaterThanEqual;
export const hardwareClipping: typeof TSL.hardwareClipping;
export const hash: typeof TSL.hash;
export const highpModelNormalViewMatrix: typeof TSL.highpModelNormalViewMatrix;
export const highpModelViewMatrix: typeof TSL.highpModelViewMatrix;
export const hue: typeof TSL.hue;
export const increment: typeof TSL.increment;
export const incrementBefore: typeof TSL.incrementBefore;
export const inspect: typeof TSL.inspect;
export const instance: typeof TSL.instance;
export const instanceColor: typeof TSL.instanceColor;
export const instanceIndex: typeof TSL.instanceIndex;
export const instancedArray: typeof TSL.instancedArray;
export const instancedBufferAttribute: typeof TSL.instancedBufferAttribute;
export const instancedDynamicBufferAttribute: typeof TSL.instancedDynamicBufferAttribute;
export const instancedMesh: typeof TSL.instancedMesh;
export const int: typeof TSL.int;
export const intBitsToFloat: typeof TSL.intBitsToFloat;
export const interleavedGradientNoise: typeof TSL.interleavedGradientNoise;
export const inverse: typeof TSL.inverse;
export const inverseSqrt: typeof TSL.inverseSqrt;
export const inversesqrt: typeof TSL.inversesqrt;
Expand All @@ -239,6 +258,7 @@ export const ior: typeof TSL.ior;
export const iridescence: typeof TSL.iridescence;
export const iridescenceIOR: typeof TSL.iridescenceIOR;
export const iridescenceThickness: typeof TSL.iridescenceThickness;
export const isolate: typeof TSL.isolate;
export const ivec2: typeof TSL.ivec2;
export const ivec3: typeof TSL.ivec3;
export const ivec4: typeof TSL.ivec4;
Expand Down Expand Up @@ -338,8 +358,8 @@ export const mx_cell_noise_float: typeof TSL.mx_cell_noise_float;
export const mx_cell_noise_vec3: typeof TSL.mx_cell_noise_vec3;
export const mx_contrast: typeof TSL.mx_contrast;
export const mx_divide: typeof TSL.mx_divide;
export const mx_fractal_noise_float_2d: typeof TSL.mx_fractal_noise_float_2d;
export const mx_fractal_noise_float: typeof TSL.mx_fractal_noise_float;
export const mx_fractal_noise_float_2d: typeof TSL.mx_fractal_noise_float_2d;
export const mx_fractal_noise_vec2: typeof TSL.mx_fractal_noise_vec2;
export const mx_fractal_noise_vec3: typeof TSL.mx_fractal_noise_vec3;
export const mx_fractal_noise_vec4: typeof TSL.mx_fractal_noise_vec4;
Expand Down Expand Up @@ -389,6 +409,7 @@ export const nodeObject: typeof TSL.nodeObject;
export const nodeObjectIntent: typeof TSL.nodeObjectIntent;
export const nodeObjects: typeof TSL.nodeObjects;
export const nodeProxy: typeof TSL.nodeProxy;
export const nodeProxyConstructor: typeof TSL.nodeProxyConstructor;
export const nodeProxyIntent: typeof TSL.nodeProxyIntent;
export const normalFlat: typeof TSL.normalFlat;
export const normalGeometry: typeof TSL.normalGeometry;
Expand All @@ -409,13 +430,6 @@ export const objectRadius: typeof TSL.objectRadius;
export const objectScale: typeof TSL.objectScale;
export const objectViewPosition: typeof TSL.objectViewPosition;
export const objectWorldMatrix: typeof TSL.objectWorldMatrix;
export const OnAfterObjectUpdate: typeof TSL.OnAfterObjectUpdate;
export const OnBeforeObjectUpdate: typeof TSL.OnBeforeObjectUpdate;
export const OnBeforeMaterialUpdate: typeof TSL.OnBeforeMaterialUpdate;
export const OnBeforeRenderPipeline: typeof TSL.OnBeforeRenderPipeline;
export const OnAfterRenderPipeline: typeof TSL.OnAfterRenderPipeline;
export const OnObjectUpdate: typeof TSL.OnObjectUpdate;
export const OnMaterialUpdate: typeof TSL.OnMaterialUpdate;
export const oneMinus: typeof TSL.oneMinus;
export const or: typeof TSL.or;
export const orthographicDepthToViewZ: typeof TSL.orthographicDepthToViewZ;
Expand All @@ -429,11 +443,11 @@ export const overloadingFn: typeof TSL.overloadingFn;
export const overrideNode: typeof TSL.overrideNode;
export const overrideNodes: typeof TSL.overrideNodes;
export const packHalf2x16: typeof TSL.packHalf2x16;
export const packNormalToRGB: typeof TSL.packNormalToRGB;
export const packSnorm2x16: typeof TSL.packSnorm2x16;
export const packUnorm2x16: typeof TSL.packUnorm2x16;
export const packSnorm4x8: typeof TSL.packSnorm4x8;
export const packUnorm2x16: typeof TSL.packUnorm2x16;
export const packUnorm4x8: typeof TSL.packUnorm4x8;
export const packNormalToRGB: typeof TSL.packNormalToRGB;
export const parabola: typeof TSL.parabola;
export const parallaxDirection: typeof TSL.parallaxDirection;
export const parallaxUV: typeof TSL.parallaxUV;
Expand All @@ -460,10 +474,13 @@ export const pow3: typeof TSL.pow3;
export const pow4: typeof TSL.pow4;
export const premultiplyAlpha: typeof TSL.premultiplyAlpha;
export const property: typeof TSL.property;
export const quadBroadcast: typeof TSL.quadBroadcast;
export const quadSwapDiagonal: typeof TSL.quadSwapDiagonal;
export const quadSwapX: typeof TSL.quadSwapX;
export const quadSwapY: typeof TSL.quadSwapY;
export const radians: typeof TSL.radians;
export const rand: typeof TSL.rand;
export const range: typeof TSL.range;
export const rangeFog: typeof TSL.rangeFog;
export const rangeFogFactor: typeof TSL.rangeFogFactor;
export const reciprocal: typeof TSL.reciprocal;
export const reference: typeof TSL.reference;
Expand All @@ -476,13 +493,13 @@ export const refract: typeof TSL.refract;
export const refractVector: typeof TSL.refractVector;
export const refractView: typeof TSL.refractView;
export const reinhardToneMapping: typeof TSL.reinhardToneMapping;
export const retroreflectivity: typeof TSL.retroreflectivity;
export const remap: typeof TSL.remap;
export const remapClamp: typeof TSL.remapClamp;
export const renderGroup: typeof TSL.renderGroup;
export const renderOutput: typeof TSL.renderOutput;
export const rendererReference: typeof TSL.rendererReference;
export const replaceDefaultUV: typeof TSL.replaceDefaultUV;
export const retroreflectivity: typeof TSL.retroreflectivity;
export const rotate: typeof TSL.rotate;
export const rotateUV: typeof TSL.rotateUV;
export const roughness: typeof TSL.roughness;
Expand Down Expand Up @@ -514,12 +531,13 @@ export const shiftRight: typeof TSL.shiftRight;
export const shininess: typeof TSL.shininess;
export const sign: typeof TSL.sign;
export const sin: typeof TSL.sin;
export const sinh: typeof TSL.sinh;
export const sinc: typeof TSL.sinc;
export const sinh: typeof TSL.sinh;
export const skinning: typeof TSL.skinning;
export const smoothstep: typeof TSL.smoothstep;
export const smoothstepElement: typeof TSL.smoothstepElement;
export const specularColor: typeof TSL.specularColor;
export const specularColorBlended: typeof TSL.specularColorBlended;
export const specularF90: typeof TSL.specularF90;
export const spherizeUV: typeof TSL.spherizeUV;
export const split: typeof TSL.split;
Expand All @@ -530,18 +548,19 @@ export const step: typeof TSL.step;
export const stepElement: typeof TSL.stepElement;
export const storage: typeof TSL.storage;
export const storageBarrier: typeof TSL.storageBarrier;
export const storageElement: typeof TSL.storageElement;
export const storageTexture: typeof TSL.storageTexture;
export const storageTexture3D: typeof TSL.storageTexture3D;
export const struct: typeof TSL.struct;
export const sub: typeof TSL.sub;
export const subBuild: typeof TSL.subBuild;
export const subgroupAdd: typeof TSL.subgroupAdd;
export const subgroupAll: typeof TSL.subgroupAll;
export const subgroupAnd: typeof TSL.subgroupAnd;
export const subgroupAny: typeof TSL.subgroupAny;
export const subgroupBallot: typeof TSL.subgroupBallot;
export const subgroupBroadcast: typeof TSL.subgroupBroadcast;
export const subgroupBroadcastFirst: typeof TSL.subgroupBroadcastFirst;
export const subBuild: typeof TSL.subBuild;
export const subgroupElect: typeof TSL.subgroupElect;
export const subgroupExclusiveAdd: typeof TSL.subgroupExclusiveAdd;
export const subgroupExclusiveMul: typeof TSL.subgroupExclusiveMul;
Expand All @@ -559,19 +578,22 @@ export const subgroupShuffleXor: typeof TSL.subgroupShuffleXor;
export const subgroupSize: typeof TSL.subgroupSize;
export const subgroupXor: typeof TSL.subgroupXor;
export const tan: typeof TSL.tan;
export const tanh: typeof TSL.tanh;
export const tangentGeometry: typeof TSL.tangentGeometry;
export const tangentLocal: typeof TSL.tangentLocal;
export const tangentView: typeof TSL.tangentView;
export const tangentViewFrame: typeof TSL.tangentViewFrame;
export const tangentWorld: typeof TSL.tangentWorld;
export const tanh: typeof TSL.tanh;
export const texture: typeof TSL.texture;
export const texture3D: typeof TSL.texture3D;
export const texture3DLevel: typeof TSL.texture3DLevel;
export const texture3DLoad: typeof TSL.texture3DLoad;
export const textureBarrier: typeof TSL.textureBarrier;
export const textureBicubic: typeof TSL.textureBicubic;
export const textureBicubicLevel: typeof TSL.textureBicubicLevel;
export const textureLevel: typeof TSL.textureLevel;
export const textureLoad: typeof TSL.textureLoad;
export const textureSize: typeof TSL.textureSize;
export const textureLevel: typeof TSL.textureLevel;
export const textureStore: typeof TSL.textureStore;
export const thickness: typeof TSL.thickness;
export const time: typeof TSL.time;
Expand All @@ -597,15 +619,16 @@ export const uintBitsToFloat: typeof TSL.uintBitsToFloat;
export const uniform: typeof TSL.uniform;
export const uniformArray: typeof TSL.uniformArray;
export const uniformCubeTexture: typeof TSL.uniformCubeTexture;
export const uniformGroup: typeof TSL.uniformGroup;
export const uniformFlow: typeof TSL.uniformFlow;
export const uniformGroup: typeof TSL.uniformGroup;
export const uniformTexture: typeof TSL.uniformTexture;
export const unpackHalf2x16: typeof TSL.unpackHalf2x16;
export const unpackNormal: typeof TSL.unpackNormal;
export const unpackRGBToNormal: typeof TSL.unpackRGBToNormal;
export const unpackSnorm2x16: typeof TSL.unpackSnorm2x16;
export const unpackUnorm2x16: typeof TSL.unpackUnorm2x16;
export const unpackSnorm4x8: typeof TSL.unpackSnorm4x8;
export const unpackUnorm2x16: typeof TSL.unpackUnorm2x16;
export const unpackUnorm4x8: typeof TSL.unpackUnorm4x8;
export const unpackRGBToNormal: typeof TSL.unpackRGBToNormal;
export const unpremultiplyAlpha: typeof TSL.unpremultiplyAlpha;
export const userData: typeof TSL.userData;
export const uv: typeof TSL.uv;
Expand Down Expand Up @@ -639,6 +662,7 @@ export const viewportSharedTexture: typeof TSL.viewportSharedTexture;
export const viewportSize: typeof TSL.viewportSize;
export const viewportTexture: typeof TSL.viewportTexture;
export const viewportUV: typeof TSL.viewportUV;
export const vogelDiskSample: typeof TSL.vogelDiskSample;
export const wgsl: typeof TSL.wgsl;
export const wgslFn: typeof TSL.wgslFn;
export const workgroupArray: typeof TSL.workgroupArray;
Expand Down
Loading
Loading