Skip to content

docs: unlink renderPasses note in CameraComponent#8622

Merged
willeastcott merged 4 commits into
mainfrom
docs-unlink-renderpasses
Apr 20, 2026
Merged

docs: unlink renderPasses note in CameraComponent#8622
willeastcott merged 4 commits into
mainfrom
docs-unlink-renderpasses

Conversation

@willeastcott
Copy link
Copy Markdown
Contributor

@willeastcott willeastcott commented Apr 20, 2026

Summary

CameraComponent.requestSceneColorMap and .requestSceneDepthMap each linked to CameraComponent#renderPasses in a "note" paragraph, but that property is deprecated and @ignored, producing two TypeDoc warnings. Update the note to reference framePasses (the non-deprecated property name) instead.

The link still points at an @ignored property, so it continues to emit the same kind of warning - this is not worse than before, and the @ignore on framePasses will be removed in a follow-up PR, at which point these warnings will go away too.

Test plan

  • npm run docs - builds clean aside from the pre-existing framePasses "not included" warnings, which will be cleared by the follow-up.

Both `requestSceneColorMap` and `requestSceneDepthMap` linked to
`CameraComponent#renderPasses`, but that property is deprecated and
`@ignore`d, producing TypeDoc warnings. Also rename it in the note to
`framePasses` (the non-deprecated property name). Keep it as a plain
backticked reference since `framePasses` is itself `@ignore`d, so a
`{@link}` would re-trigger the same class of warning.

Made-with: Cursor
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CameraComponent documentation to stop linking requestSceneColorMap / requestSceneDepthMap notes to the deprecated renderPasses property, aligning the docs with the newer framePasses API and reducing TypeDoc noise.

Changes:

  • Replace {@link CameraComponent#renderPasses} references in the “ignored when … is used” notes with framePasses.
  • Apply the update to both requestSceneColorMap and requestSceneDepthMap doc comments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/framework/components/camera/component.js Outdated
Comment thread src/framework/components/camera/component.js Outdated
@willeastcott willeastcott merged commit 6b84866 into main Apr 20, 2026
8 checks passed
@willeastcott willeastcott deleted the docs-unlink-renderpasses branch April 20, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants