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

Can vuh::Array contain a struct? #49

Open
Bambofy opened this issue May 31, 2020 · 1 comment
Open

Can vuh::Array contain a struct? #49

Bambofy opened this issue May 31, 2020 · 1 comment

Comments

@Bambofy
Copy link

Bambofy commented May 31, 2020

I would like to store structs and pass them to the compute shaders in buffers, is this possible?

For example struct:

struct Vector2
{
    float x;
    float y;
}
@Glavnokoman
Copy link
Owner

Why don't you give it a try? (hint: if it does not work file a bug)

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