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

Render the type of input variables in the docs #31

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Shadow-Devil
Copy link

While browsing the Hydra functions, I often look at the "Usage" first and wonder what the different input types are.
I then also found out that these are actually defined in the glsl-functions.js file, but not used in the docs.

This PR now renders the type information also in the documentation and therefore provide better information for the user.
It also updates the logic to display default values to not ignore 0 and empty values.

image

Copy link
Member

@ojack ojack left a comment

Choose a reason for hiding this comment

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

cool!

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