Skip to content

Conversation

@Calinou
Copy link
Member

@Calinou Calinou commented Nov 24, 2025

@Calinou Calinou added enhancement area:manual Issues and PRs related to the Manual/Tutorials section of the documentation topic:shaders cherrypick:4.5 labels Nov 24, 2025
@Calinou Calinou force-pushed the shading-language-data-types-array-struct branch 3 times, most recently from 484d360 to 4631fd5 Compare November 24, 2025 17:59
+------------------------+---------------------------------------------------------------------------------+

These types can also be put inside :ref:`arrays <doc_shading_language_arrays>`
or :ref:`structs <doc_shading_language_structs>`, which are also usable as uniforms,
Copy link
Member

Choose a reason for hiding this comment

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

This implies that structs can be used as uniforms, is that really possible?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not supported yet, so I clarified it.

@Calinou Calinou force-pushed the shading-language-data-types-array-struct branch from 4631fd5 to 2d4df91 Compare November 24, 2025 19:50
@Calinou Calinou force-pushed the shading-language-data-types-array-struct branch from 2d4df91 to 63cce64 Compare November 24, 2025 19:52
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 cherrypick:4.5 enhancement topic:shaders

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Took me a long time to discover you can use array types for uniforms in shaders

2 participants