Skip to content

Commit

Permalink
Fix doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Jan 1, 2024
1 parent 23ff87b commit deef59b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/passes/ClearPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const fv = /* @__PURE__ */ new Float32Array(4);

/**
* A clear pass.
*
* @group Passes
*/

export class ClearPass extends Pass {
Expand Down
10 changes: 8 additions & 2 deletions src/passes/GeometryPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -69,6 +73,8 @@ interface GeometryPassOptions {

/**
* A geometry pass.
*
* @group Passes
*/

export class GeometryPass extends Pass implements Selective {
Expand Down Expand Up @@ -218,7 +224,7 @@ export class GeometryPass extends Pass implements Selective {
}

/**
* Alias for {@link output.defaultBuffer}.
* Alias for `output.defaultBuffer`.
*/

get gBuffer(): WebGLMultipleRenderTargets | null {
Expand Down

0 comments on commit deef59b

Please sign in to comment.