Skip to content

Small note about setting non-v4 and m4 attributes with less data#597

Merged
Jhonnyg merged 2 commits intomasterfrom
clarify-setting-attribute-data-using-go.set
Feb 3, 2026
Merged

Small note about setting non-v4 and m4 attributes with less data#597
Jhonnyg merged 2 commits intomasterfrom
clarify-setting-attribute-data-using-go.set

Conversation

@Jhonnyg
Copy link
Contributor

@Jhonnyg Jhonnyg commented Jan 29, 2026

No description provided.

@Jhonnyg Jhonnyg requested a review from britzl January 29, 2026 13:17
Setting custom vertex data in runtime is currently only supported for sprite components.
:::

In the case that a vertex attribute is either a scalar or a vector type other than a `Vec4` you can still set the data using `go.set`:
Copy link
Contributor

Choose a reason for hiding this comment

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

Better wording: "In cases where"

Copy link
Contributor

@britzl britzl left a comment

Choose a reason for hiding this comment

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

Good, but please see suggestion from Pawel on wording.

@Jhonnyg Jhonnyg merged commit f95b911 into master Feb 3, 2026
1 check passed
@Jhonnyg Jhonnyg deleted the clarify-setting-attribute-data-using-go.set branch February 3, 2026 08:51
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.

3 participants