@types/three 0.173.0 → 0.174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- three/README.md +1 -1
- three/examples/jsm/animation/CCDIKSolver.d.ts +3 -2
- three/examples/jsm/loaders/MTLLoader.d.ts +2 -1
- three/examples/jsm/misc/Timer.d.ts +13 -2
- three/examples/jsm/objects/Reflector.d.ts +1 -0
- three/examples/jsm/tsl/math/Bayer.d.ts +4 -0
- three/examples/jsm/tsl/utils/Raymarching.d.ts +9 -0
- three/package.json +2 -2
- three/src/Three.TSL.d.ts +4 -0
- three/src/Three.d.ts +6 -1
- three/src/core/Raycaster.d.ts +4 -0
- three/src/extras/PMREMGenerator.d.ts +15 -2
- three/src/geometries/TorusGeometry.d.ts +5 -6
- three/src/materials/nodes/NodeMaterial.d.ts +2 -1
- three/src/materials/nodes/VolumeNodeMaterial.d.ts +14 -2
- three/src/materials/nodes/manager/NodeMaterialObserver.d.ts +4 -4
- three/src/nodes/Nodes.d.ts +1 -2
- three/src/nodes/TSL.d.ts +1 -0
- three/src/nodes/accessors/BufferAttributeNode.d.ts +25 -22
- three/src/nodes/accessors/Lights.d.ts +1 -1
- three/src/nodes/accessors/MaterialProperties.d.ts +5 -0
- three/src/nodes/accessors/ModelNode.d.ts +1 -0
- three/src/nodes/accessors/Object3DNode.d.ts +7 -5
- three/src/nodes/accessors/Texture3DNode.d.ts +2 -2
- three/src/nodes/core/LightingModel.d.ts +13 -28
- three/src/nodes/core/Node.d.ts +24 -24
- three/src/nodes/core/NodeAttribute.d.ts +3 -3
- three/src/nodes/core/NodeCache.d.ts +2 -2
- three/src/nodes/core/NodeParser.d.ts +1 -1
- three/src/nodes/core/NodeUniform.d.ts +4 -4
- three/src/nodes/core/NodeVar.d.ts +4 -4
- three/src/nodes/core/NodeVarying.d.ts +2 -2
- three/src/nodes/core/StructTypeNode.d.ts +2 -2
- three/src/nodes/core/UniformNode.d.ts +7 -7
- three/src/nodes/core/constants.d.ts +0 -1
- three/src/nodes/display/PassNode.d.ts +10 -1
- three/src/nodes/functions/BSDF/LTC.d.ts +5 -1
- three/src/nodes/functions/VolumetricLightingModel.d.ts +6 -0
- three/src/nodes/lighting/AnalyticLightNode.d.ts +13 -1
- three/src/nodes/lighting/LightingContextNode.d.ts +18 -4
- three/src/nodes/lighting/LightsNode.d.ts +24 -0
- three/src/nodes/lighting/PointLightNode.d.ts +8 -7
- three/src/nodes/lighting/ShadowBaseNode.d.ts +3 -0
- three/src/nodes/tsl/TSLCore.d.ts +3 -0
- three/src/nodes/utils/ReflectorNode.d.ts +1 -0
- three/src/objects/LOD.d.ts +4 -3
- three/src/renderers/common/Animation.d.ts +4 -4
- three/src/renderers/common/Attributes.d.ts +1 -1
- three/src/renderers/common/BindGroup.d.ts +2 -2
- three/src/renderers/common/Binding.d.ts +2 -2
- three/src/renderers/common/Buffer.d.ts +3 -3
- three/src/renderers/common/BufferUtils.d.ts +7 -8
- three/src/renderers/common/BundleGroup.d.ts +2 -2
- three/src/renderers/common/ChainMap.d.ts +3 -3
- three/src/renderers/common/ClippingContext.d.ts +3 -3
- three/src/renderers/common/Color4.d.ts +8 -8
- three/src/renderers/common/ComputePipeline.d.ts +1 -1
- three/src/renderers/common/DataMap.d.ts +2 -2
- three/src/renderers/common/Geometries.d.ts +4 -4
- three/src/renderers/common/Info.d.ts +2 -2
- three/src/renderers/common/Pipeline.d.ts +1 -1
- three/src/renderers/common/Pipelines.d.ts +9 -9
- three/src/renderers/common/ProgrammableStage.d.ts +4 -4
- three/src/renderers/common/RenderContext.d.ts +2 -2
- three/src/renderers/common/RenderContexts.d.ts +3 -3
- three/src/renderers/common/RenderList.d.ts +11 -11
- three/src/renderers/common/RenderObject.d.ts +13 -13
- three/src/renderers/common/RenderObjects.d.ts +3 -3
- three/src/renderers/common/RenderPipeline.d.ts +1 -1
- three/src/renderers/common/Renderer.d.ts +117 -91
- three/src/renderers/common/Textures.d.ts +6 -6
- three/src/renderers/common/TimestampQueryPool.d.ts +13 -1
- three/src/renderers/common/Uniform.d.ts +13 -13
- three/src/renderers/common/UniformBuffer.d.ts +1 -1
- three/src/renderers/common/UniformsGroup.d.ts +13 -13
- three/src/renderers/common/XRManager.d.ts +13 -15
- three/src/renderers/common/XRRenderTarget.d.ts +4 -4
- three/src/renderers/common/extras/PMREMGenerator.d.ts +9 -2
- three/src/renderers/common/nodes/NodeBuilderState.d.ts +3 -3
- three/src/renderers/common/nodes/NodeLibrary.d.ts +11 -11
- three/src/renderers/common/nodes/NodeUniform.d.ts +9 -9
- three/src/renderers/common/nodes/NodeUniformsGroup.d.ts +1 -1
- three/src/renderers/common/nodes/Nodes.d.ts +11 -11
- three/src/renderers/webgl/WebGLState.d.ts +7 -6
|
@@ -11,14 +11,14 @@ import { Vector4 } from "../../math/Vector4.js";
|
|
|
11
11
|
import { WebGLRenderTarget } from "../WebGLRenderTarget.js";
|
|
12
12
|
import { WebGLExtensions } from "./WebGLExtensions.js";
|
|
13
13
|
|
|
14
|
-
declare class
|
|
14
|
+
declare class WebGLColorBuffer {
|
|
15
15
|
setMask(colorMask: boolean): void;
|
|
16
16
|
setLocked(lock: boolean): void;
|
|
17
17
|
setClear(r: number, g: number, b: number, a: number, premultipliedAlpha: boolean): void;
|
|
18
18
|
reset(): void;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
declare class
|
|
21
|
+
declare class WebGLDepthBuffer {
|
|
22
22
|
constructor();
|
|
23
23
|
|
|
24
24
|
setReversed(value: boolean): void;
|
|
@@ -31,7 +31,7 @@ declare class DepthBuffer {
|
|
|
31
31
|
reset(): void;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
declare class
|
|
34
|
+
declare class WebGLStencilBuffer {
|
|
35
35
|
constructor();
|
|
36
36
|
|
|
37
37
|
setTest(stencilTest: boolean): void;
|
|
@@ -47,9 +47,9 @@ declare class WebGLState {
|
|
|
47
47
|
constructor(gl: WebGLRenderingContext, extensions: WebGLExtensions);
|
|
48
48
|
|
|
49
49
|
buffers: {
|
|
50
|
-
color:
|
|
51
|
-
depth:
|
|
52
|
-
stencil:
|
|
50
|
+
color: WebGLColorBuffer;
|
|
51
|
+
depth: WebGLDepthBuffer;
|
|
52
|
+
stencil: WebGLStencilBuffer;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
enable(id: number): void;
|
|
@@ -117,3 +117,4 @@ declare class WebGLState {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
export { WebGLState };
|
|
120
|
+
export type { WebGLColorBuffer, WebGLDepthBuffer, WebGLStencilBuffer };
|