Replies: 1 comment
-
IMHO just adding custom swizzle names would be better, but this would also be nice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, one cannot override the swizzle fields/set custom swizzle field order or names in an array type (which is understandable). A decent workaround seems to be creating a
#raw_union
with the struct and an array field. But direct array indexing of this struct isn't supported.Describe the solution you'd like
Allow direct array indexing of raw-unions, if there is only one array field member inside the raw union struct.
Additional context
None.
Beta Was this translation helpful? Give feedback.
All reactions