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

More RenderAttributes.Set Overloads #7204

Open
rileyzzz opened this issue Dec 19, 2024 · 0 comments
Open

More RenderAttributes.Set Overloads #7204

rileyzzz opened this issue Dec 19, 2024 · 0 comments

Comments

@rileyzzz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To triage
Development

No branches or pull requests

1 participant