Skip to content

Improve Texture JSDocs (and some others) #7595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025
Merged

Improve Texture JSDocs (and some others) #7595

merged 3 commits into from
Apr 24, 2025

Conversation

willeastcott
Copy link
Contributor

  • Minor improvements to Texture JSDocs.
  • Drop used of @implements tag in DefaultAnimBinder.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@willeastcott willeastcott added docs Documentation related enhancement labels Apr 24, 2025
@willeastcott willeastcott self-assigned this Apr 24, 2025
Copy link
Contributor

@Copilot 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

This PR improves the JSDocs for the Texture class and updates the DefaultAnimBinder documentation by removing an obsolete @implements tag.

  • Enhanced descriptive documentation for textures, including clearer explanations of properties and methods.
  • Corrected JSDoc terminology for compareOnRead functions and anisotropy documentation.
  • Removed the outdated @implements tag from DefaultAnimBinder.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/platform/graphics/texture.js Improved JSDocs for clarity and accuracy in method docs.
src/framework/anim/binder/default-anim-binder.js Removed an unnecessary @implements tag.
Comments suppressed due to low confidence (1)

src/platform/graphics/texture.js:1136

  • The phrasing 'is called by internally by' is awkward; consider revising it to 'is called internally by'.
     * is called by internally by {@link setSource} and {@link unlock}. However, it still needs to be

@willeastcott willeastcott changed the title Fixes to Texture JSDocs Improve Texture JSDocs (and some others) Apr 24, 2025
@willeastcott willeastcott merged commit 6e4781d into main Apr 24, 2025
7 checks passed
@willeastcott willeastcott deleted the jsdoc-updates branch April 24, 2025 09:58
willeastcott added a commit that referenced this pull request Apr 24, 2025
* Fixes to Texture JSDocs

* Tweak

* More doc linking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants