Skip to content

Conversation

@ProgrammerOnCoffee
Copy link
Contributor

Corrects the shading language documentation where it incorrectly states that single-line documentation comments aren't supported. From my testing, single-line comments have been supported since 4.3 when shader documentation comments were introduced.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

The previous comment is still technically correct: only the multiline syntax is supported, even if you use it on a single line.

What's not supported specifically is the Doxygen-style triple slash syntax (///).

@Calinou Calinou added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:shaders labels Jan 8, 2026
@ProgrammerOnCoffee
Copy link
Contributor Author

Ah, my mistake. That makes sense.

In that case, should the comment be clarified somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation enhancement topic:shaders

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants