You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we have a pretty wide selection for RenderAttributes.Set, but we're still missing a few types even though they can be represented in shaders as attributes:
int2, int3, int4
float3x3, float4x3
bool2, bool3, bool4
How would you like it to work?
I'd like some more overloads for RenderAttributes, ideally ones taking Vector2Int, Vector3Int, Vector4Int (is vec4int a type yet? maybe Rect instead?)
and possibly ones taking individual components, i.e. RenderAttributes.Set(string str, int x, int y, int z, int w)
For the matrix types, maybe ReadOnlySpan to avoid using managed arrays?
What have you tried?
I've had to split things up into multiple components in the past which was a bit crummy, would be nice to see these added
Additional context
No response
The text was updated successfully, but these errors were encountered:
What can't you do?
Right now we have a pretty wide selection for RenderAttributes.Set, but we're still missing a few types even though they can be represented in shaders as attributes:
int2, int3, int4
float3x3, float4x3
bool2, bool3, bool4
How would you like it to work?
I'd like some more overloads for RenderAttributes, ideally ones taking Vector2Int, Vector3Int, Vector4Int (is vec4int a type yet? maybe Rect instead?)
and possibly ones taking individual components, i.e.
RenderAttributes.Set(string str, int x, int y, int z, int w)
For the matrix types, maybe ReadOnlySpan to avoid using managed arrays?
What have you tried?
I've had to split things up into multiple components in the past which was a bit crummy, would be nice to see these added
Additional context
No response
The text was updated successfully, but these errors were encountered: