From deef59b2c6107dba97ca6ec7c3a9c3dc9c5bf8f0 Mon Sep 17 00:00:00 2001 From: "Raoul v. R" Date: Tue, 2 Jan 2024 00:27:22 +0100 Subject: [PATCH] Fix doc comments --- src/passes/ClearPass.ts | 2 ++ src/passes/GeometryPass.ts | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/passes/ClearPass.ts b/src/passes/ClearPass.ts index 5a4462f77..cb54ce702 100644 --- a/src/passes/ClearPass.ts +++ b/src/passes/ClearPass.ts @@ -9,6 +9,8 @@ const fv = /* @__PURE__ */ new Float32Array(4); /** * A clear pass. + * + * @group Passes */ export class ClearPass extends Pass { diff --git a/src/passes/GeometryPass.ts b/src/passes/GeometryPass.ts index c9679d694..beb144897 100644 --- a/src/passes/GeometryPass.ts +++ b/src/passes/GeometryPass.ts @@ -29,15 +29,19 @@ import { CopyPass } from "./CopyPass.js"; /** * Supported MSAA sample counts. + * + * @group Passes */ export declare type MSAASamples = 0 | 2 | 4 | 8; /** * GeometryPass constructor options. + * + * @group Passes */ -interface GeometryPassOptions { +export interface GeometryPassOptions { /** * Determines whether a stencil buffer should be created. Default is `false`. @@ -69,6 +73,8 @@ interface GeometryPassOptions { /** * A geometry pass. + * + * @group Passes */ export class GeometryPass extends Pass implements Selective { @@ -218,7 +224,7 @@ export class GeometryPass extends Pass implements Selective { } /** - * Alias for {@link output.defaultBuffer}. + * Alias for `output.defaultBuffer`. */ get gBuffer(): WebGLMultipleRenderTargets | null {