vuh icon indicating copy to clipboard operation
vuh copied to clipboard

Can vuh::Array contain a struct?

Open Bambofy opened this issue 4 years ago • 1 comments

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;
}

Bambofy avatar May 31 '20 12:05 Bambofy

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

Glavnokoman avatar May 31 '20 15:05 Glavnokoman