diff --git a/examples/webgpu_postprocessing_ssaa.html b/examples/webgpu_postprocessing_ssaa.html index 67b1f30ae212f1..3c8821ff51f248 100644 --- a/examples/webgpu_postprocessing_ssaa.html +++ b/examples/webgpu_postprocessing_ssaa.html @@ -186,7 +186,7 @@ } - let newColor = ssaaRenderPass.clearColor; + let newColor; switch ( params.clearColor ) { diff --git a/src/Three.WebGPU.js b/src/Three.WebGPU.js index 208c9a0dde2997..e4f6a448e6be6e 100644 --- a/src/Three.WebGPU.js +++ b/src/Three.WebGPU.js @@ -4,6 +4,8 @@ export * from './materials/nodes/NodeMaterials.js'; export { default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.js'; export { default as WebGPUBackend } from './renderers/webgpu/WebGPUBackend.js'; export { default as WebGLBackend } from './renderers/webgl-fallback/WebGLBackend.js'; +export { default as Renderer } from './renderers/common/Renderer.js'; +export { default as Backend } from './renderers/common/Backend.js'; export { default as WebGLCapabilities } from './renderers/webgl-fallback/utils/WebGLCapabilities.js'; export { default as Lighting } from './renderers/common/Lighting.js'; export { default as BundleGroup } from './renderers/common/BundleGroup.js'; @@ -31,6 +33,8 @@ export { default as CanvasTarget } from './renderers/common/CanvasTarget.js'; export { default as BlendMode } from './renderers/common/BlendMode.js'; export { default as GLSLNodeBuilder } from './renderers/webgl-fallback/nodes/GLSLNodeBuilder.js'; export { default as BasicNodeLibrary } from './renderers/webgpu/nodes/BasicNodeLibrary.js'; +export { default as StandardNodeLibrary } from './renderers/webgpu/nodes/StandardNodeLibrary.js'; +export { default as WGSLNodeBuilder } from './renderers/webgpu/nodes/WGSLNodeBuilder.js'; export { ClippingGroup } from './objects/ClippingGroup.js'; export * from './nodes/Nodes.js'; import * as TSL from './nodes/TSL.js'; diff --git a/src/renderers/common/Backend.js b/src/renderers/common/Backend.js index 548f2103a634d7..27f7899be14fd0 100644 --- a/src/renderers/common/Backend.js +++ b/src/renderers/common/Backend.js @@ -16,7 +16,6 @@ import { REVISION, TimestampQuery } from '../../constants.js'; * implement the interface. * * @abstract - * @private */ class Backend { diff --git a/src/renderers/webgpu/nodes/StandardNodeLibrary.js b/src/renderers/webgpu/nodes/StandardNodeLibrary.js index 042caebdf4d01a..465709f10af909 100644 --- a/src/renderers/webgpu/nodes/StandardNodeLibrary.js +++ b/src/renderers/webgpu/nodes/StandardNodeLibrary.js @@ -50,7 +50,6 @@ import { linearToneMapping, reinhardToneMapping, cineonToneMapping, acesFilmicTo * used in {@link WebGPURenderer}. It maps lights, tone mapping * techniques and materials to node-based implementations. * - * @private * @augments NodeLibrary */ class StandardNodeLibrary extends NodeLibrary {