Skip to content
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

Fix some ShaderPass JSDoc #5926

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

kungfooman
Copy link
Collaborator

I looked a bit into the shader pass examples and figured a type issue via RuntimeTypeInspector.js, which was also a nice opportunity to simply extend the documentation a bit.

I renamed ShaderPassInfo#initShaderDefines to ShaderPassInfo#buildShaderDefines because all types need to be set in the constructor to fix this kind of type error:

image

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

Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

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

Nice cleanup, thanks!

@mvaligursky mvaligursky merged commit a460bb6 into playcanvas:main Jan 8, 2024
7 checks passed
@kungfooman kungfooman deleted the fix-ShaderPass-JSDoc branch January 19, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants