From b4934fe06d969d2e25f6f92aa848e17d140b942f Mon Sep 17 00:00:00 2001 From: "Raoul v. R" Date: Tue, 26 Mar 2024 22:50:38 +0100 Subject: [PATCH] Update doc comments --- src/core/Pass.ts | 2 +- src/core/RenderPipeline.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Pass.ts b/src/core/Pass.ts index 7dee3ef1b..3a9f61b4a 100644 --- a/src/core/Pass.ts +++ b/src/core/Pass.ts @@ -506,8 +506,8 @@ export abstract class Pass * Override this method to check if the current device supports the necessary features. * This method should throw an error if the requirements are not met. * - * @param renderer - The current renderer. * @throws If the device doesn't meet the requirements. + * @param renderer - The current renderer. */ checkRequirements(renderer: WebGLRenderer): void {} diff --git a/src/core/RenderPipeline.ts b/src/core/RenderPipeline.ts index 19945a146..e3cac2dd3 100644 --- a/src/core/RenderPipeline.ts +++ b/src/core/RenderPipeline.ts @@ -230,7 +230,7 @@ export class RenderPipeline implements Disposable, Renderable, Resizable { /** * Adds one or more passes. * - * @throws {@link Error} If the pass has already been added to a pipeline. + * @throws If the pass has already been added to a pipeline. * @param passes - The passes to add. */