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

Allow usage of reflection for vertex data attributes generation #27

Open
paulcscharf opened this issue Sep 8, 2020 · 3 comments
Open

Comments

@paulcscharf
Copy link
Member

No description provided.

@tomrijnbeek
Copy link
Member

Can also consider source generation, but you can't add to an existing type without using partial.

@paulcscharf
Copy link
Member Author

Source generation seems like it could lead to issues. We're talking about users creating their own vertex types, and depending on their setup, can we be sure source generators will definitely work?

@tomrijnbeek
Copy link
Member

Good question.

Source generators can be shipped as a separate NuGet package and referred to, but yes, it would require people to set that up as a separate dependency (not sure if it can be the same NuGet package and dependency actually, maybe it can?).

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

No branches or pull requests

2 participants